/*
Theme Name: Nawadir
Theme URI: https://example.com/nawadir
Description: Multi-vendor marketplace for digital products. Creators open a store, upload files to a protected vault and sell with instant downloads; seller plans (free, pro, business) with limits on products, monthly sales, storage and file size, and a commission per plan; buyer library with download limits; reviews from verified buyers; seller balances, hold period and payout requests; paid "Featured" promotion; Stripe, PayPal and bank transfer; owner panel with revenue dashboard, orders, sellers, payouts and a plans editor; English, Arabic, French and Spanish built in.
Version: 5.16.0
Requires at least: 6.3
Requires PHP: 7.4
Author: Nawadir
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nawadir
Tags: e-commerce, rtl-language-support, custom-logo, translation-ready
*/

/* ==========================================================================
   Tokens — warm paper, ink, electric violet, lime spark.
   ========================================================================== */
:root {
	--bg: #f6f5f1;
	--card: #fff;
	--paper: #efede7;
	--ink: #16141f;
	--dark: #16141f;
	--ink2: #2b2836;
	--mute: #6f6a7d;
	--line: #e6e3dc;
	--line2: #efede8;
	--pri: #5b3df5;
	--pri-d: #4329d6;
	--pri-soft: #efeafe;
	--acc: #c9f266;
	--acc-ink: #1d2a05;
	--coral: #ef5a3c;
	--good: #1f9d63;
	--warn: #b7791f;
	--foot: #16141f;
	--wa: #1d9a52;
	--sun: #fff1c2;
	--lilac: #ebe5ff;
	--sky: #dcefff;
	--rose: #ffe2ea;
	--mint: #d8f6e7;
	--peach: #ffe6d3;
	--r: 20px;
	--r-sm: 12px;
	--shadow: 0 1px 2px rgba(22, 20, 31, .04), 0 10px 30px -12px rgba(22, 20, 31, .12);
	--shadow-lg: 0 30px 60px -24px rgba(40, 20, 120, .35);
	--head: "Bricolage Grotesque", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--body: "Figtree", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.nw-lang-ar { --head: "IBM Plex Sans Arabic", "Bricolage Grotesque", sans-serif; --body: "IBM Plex Sans Arabic", "Figtree", system-ui, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--pri); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--pri); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nw-skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 99; background: var(--pri); color: #fff; padding: 8px 14px; border-radius: 8px; }
.nw-skip:focus { inset-inline-start: 8px; }
.nw-wrap { max-width: 1240px; margin-inline: auto; padding-inline: max(4vw, 16px); }
.nw-narrow { max-width: 760px; }
.nw-page { padding-block: 28px 60px; }
.nw-h1, .nw-h2, .nw-h3, .nw-h4, .nw-hero h1, .nw-cta h2, .nw-plan h2 { font-family: var(--head); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.025em; text-wrap: balance; color: var(--ink); }
.nw-lang-ar :is(.nw-h1, .nw-h2, .nw-h3, .nw-h4, .nw-hero h1, .nw-cta h2, .nw-plan h2) { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
.nw-h1 { font-size: clamp(26px, 3.6vw, 38px); }
.nw-h1.is-xl { font-size: clamp(32px, 5vw, 54px); }
.nw-h2 { font-size: clamp(21px, 2.6vw, 28px); display: flex; align-items: center; gap: 10px; }
.nw-h3 { font-size: 19px; }
.nw-h4 { font-size: 16px; margin-top: 18px; }
.nw-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink2); max-width: 60ch; margin: 12px 0 0; }
.nw-small { font-size: 13.5px; color: var(--mute); margin: 6px 0 0; }
.nw-center { text-align: center; }
.nw-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nw-row.is-between { justify-content: space-between; }
.nw-link { display: inline-flex; align-items: center; gap: 6px; color: var(--pri); font-weight: 650; text-decoration: none; background: none; border: 0; padding: 0; }
.nw-link:hover { text-decoration: underline; }
.nw-lang-ar .nw-link .nw-i, .nw-lang-ar .nw-storecard > .nw-i { transform: scaleX(-1); }
.nw-prose { line-height: 1.75; color: var(--ink2); }
.nw-prose p { margin: 0 0 1em; }
.nw-prose a { word-break: break-word; }
.nw-note { background: var(--pri-soft); border-radius: var(--r-sm); padding: 12px 14px; color: var(--ink2); font-size: 14.5px; margin: 10px 0; }
.nw-ok { display: flex; align-items: center; gap: 8px; color: var(--good); font-weight: 700; margin: 6px 0 10px; }

/* ---------- Buttons ---------- */
.nw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.nw-btn:active { transform: translateY(1px); }
.nw-btn.is-pri { background: var(--pri); color: #fff; box-shadow: 0 10px 22px -12px var(--pri); }
.nw-btn.is-pri:hover { background: var(--pri-d); }
.nw-btn.is-acc { background: var(--acc); color: var(--acc-ink); }
.nw-btn.is-acc:hover { filter: brightness(.95); }
.nw-btn.is-line { background: var(--card); border-color: var(--line); color: var(--ink); }
.nw-btn.is-line:hover { border-color: var(--ink); }
.nw-btn.is-ghost { background: transparent; color: var(--pri); border-color: var(--pri-soft); }
.nw-btn.is-ghost:hover { background: var(--pri-soft); }
.nw-btn.is-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.nw-btn.is-ghost-light:hover { border-color: #fff; }
.nw-btn.is-paypal { background: #ffc439; color: #111; }
.nw-btn.is-wa { background: var(--wa); color: #fff; }
.nw-btn.is-danger { background: var(--card); border-color: #f4cfc6; color: var(--coral); }
.nw-btn.is-big { min-height: 52px; padding: 12px 26px; font-size: 16px; }
.nw-btn.is-sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.nw-btn.is-block { display: flex; width: 100%; }
.nw-btn.is-static { cursor: default; }
.nw-btn[disabled], .nw-btn.is-busy { opacity: .6; pointer-events: none; }
.nw-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); text-decoration: none; flex: none; }
.nw-ic:hover { background: var(--paper); }
.nw-ic.is-sm { width: 36px; height: 36px; }

/* ---------- Pills, notices, avatars ---------- */
.nw-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--paper); color: var(--ink2); white-space: nowrap; }
.nw-pill.is-good { background: #e0f6ea; color: #157048; }
.nw-pill.is-warn { background: #fff1d6; color: #8a5a00; }
.nw-pill.is-bad { background: #ffe4dd; color: #b23a20; }
.nw-pill.is-acc { background: var(--acc); color: var(--acc-ink); }
.nw-notice { border-radius: var(--r-sm); padding: 13px 16px; margin: 0 0 16px; font-weight: 600; font-size: 15px; }
.nw-notice.is-ok { background: #e0f6ea; color: #135f3d; }
.nw-notice.is-error { background: #ffe4dd; color: #9b2d14; }
.nw-av { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 30%; object-fit: cover; flex: none; background: var(--lilac); color: var(--pri-d); font-weight: 800; font-family: var(--head); font-size: .9em; }
span.nw-av { font-size: max(11px, .42em); }
.nw-av.is-sun { background: var(--sun); color: #7a5600; } .nw-av.is-lilac { background: var(--lilac); color: var(--pri-d); } .nw-av.is-sky { background: var(--sky); color: #1d5f8f; } .nw-av.is-rose { background: var(--rose); color: #a3284a; } .nw-av.is-mint { background: var(--mint); color: #146b45; } .nw-av.is-peach { background: var(--peach); color: #9a4a12; }
.nw-verified { display: inline-flex; color: var(--pri); vertical-align: -3px; margin-inline-start: 4px; }
.nw-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink2); }
.nw-kicker .nw-i { color: var(--pri); }
.nw-kicker.is-soft { background: var(--pri-soft); border-color: transparent; color: var(--pri-d); }
.nw-kicker.is-acc { background: var(--acc); border-color: transparent; color: var(--acc-ink); }
.nw-kicker.is-acc .nw-i { color: var(--acc-ink); }
.nw-stars { position: relative; display: inline-block; font-size: 15px; letter-spacing: 1px; line-height: 1; vertical-align: middle; }
.nw-stars-bg { color: #dcd8cf; }
.nw-stars-fg { position: absolute; inset-block-start: 0; inset-inline-start: 0; overflow: hidden; color: #f5a623; white-space: nowrap; }
.nw-rn { font-weight: 700; margin-inline-start: 6px; font-size: 14px; }
.nw-rn small { color: var(--mute); font-weight: 500; }
.nw-mini-star { color: #b77900; font-weight: 700; }

/* ---------- Header ---------- */
.nw-head { position: sticky; top: 0; z-index: 40; background: rgba(246, 245, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.admin-bar .nw-head { top: 32px; }
.nw-bar { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.nw-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.nw-brand b { font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.nw-hsearch { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 44px; color: var(--mute); }
.nw-hsearch:focus-within { border-color: var(--pri); box-shadow: 0 0 0 4px var(--pri-soft); }
.nw-hsearch input { flex: 1; border: 0; background: transparent; outline: 0; height: 100%; font-size: 15px; color: var(--ink); }
.nw-links { display: flex; gap: 4px; }
.nw-links a { color: var(--ink2); text-decoration: none; font-weight: 650; padding: 8px 12px; border-radius: 999px; }
.nw-links a:hover { background: var(--paper); }
.nw-bar-end { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nw-bar-end .nw-btn { margin-inline-start: 6px; }
.nw-lang { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); }
.nw-lang select { border: 0; background: transparent; font-weight: 650; color: var(--ink2); padding: 6px 2px; }
.nw-only-m { display: none; }
@media (max-width: 1060px) { .nw-links { display: none; } }
@media (max-width: 820px) {
	.nw-only-m { display: inline-grid; }
	.nw-only-d, .nw-hsearch { display: none !important; }
	.nw-bar { min-height: 60px; gap: 4px; }
	.nw-brand { margin-inline: auto; }
	.nw-brand b { font-size: 19px; }
	.nw-bar-end { margin-inline-start: 0; }
}

/* Layers: search + drawer */
.nw-layer { position: fixed; inset: 0; z-index: 60; display: flex; }
.nw-layer-close { position: absolute; inset: 0; border: 0; background: rgba(22, 20, 31, .45); z-index: 0; }
.nw-search-panel { position: relative; z-index: 1; width: 100%; background: var(--bg); padding: 16px max(4vw, 16px) 20px; align-self: flex-start; box-shadow: var(--shadow-lg); border-radius: 0 0 var(--r) var(--r); }
.nw-search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; color: var(--mute); }
.nw-lang-ar .nw-search { padding: 6px 18px 6px 6px; }
.nw-search:focus-within { border-color: var(--pri); box-shadow: 0 0 0 4px var(--pri-soft); }
.nw-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; min-height: 42px; color: var(--ink); }
.nw-search.is-hero { margin-top: 26px; max-width: 580px; box-shadow: var(--shadow); }
.nw-search.is-hero input { font-size: 17px; min-height: 48px; }
.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nw-chips a { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 600; }
.nw-chips a:hover { border-color: var(--pri); color: var(--pri); }
.nw-layer.is-drawer { justify-content: flex-start; }
.nw-drawer { position: relative; z-index: 1; width: min(340px, 88vw); height: 100%; overflow-y: auto; background: var(--bg); padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); }
.nw-drawer-top { display: flex; justify-content: space-between; align-items: center; }
.nw-drawer-nav { display: grid; gap: 2px; }
.nw-drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 650; }
.nw-drawer-nav a:hover { background: var(--card); }
.nw-drawer-nav .nw-i { color: var(--pri); }
.nw-drawer-out { margin-top: auto; color: var(--coral); font-weight: 650; text-decoration: none; padding: 12px; }

/* ---------- Hero ---------- */
.nw-hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.nw-hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(91, 61, 245, .16), transparent 70%); pointer-events: none; }
.nw-lang-ar .nw-hero::before { inset: -40% auto auto -10%; }
.nw-hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.nw-hero h1 { font-size: clamp(36px, 5.6vw, 66px); margin-top: 18px; }
.nw-hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 28px 0 0; }
.nw-hero-stats li { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14.5px; font-weight: 600; }
.nw-hero-stats b { display: inline-flex; align-items: center; font-family: var(--head); font-size: 20px; color: var(--ink); }
.nw-hero-stats .nw-i { color: var(--pri); }
.nw-hero-art { position: relative; min-height: 420px; }
.nw-hero-photo { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 1; }
.nw-stack { position: relative; height: 440px; }
.nw-tile { position: absolute; background: var(--card); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255, 255, 255, .6); animation: nw-float 7s ease-in-out infinite; }
.nw-tile em { font-style: normal; font-weight: 800; font-family: var(--head); font-size: 17px; }
.nw-tile s { display: block; height: 8px; border-radius: 4px; background: var(--paper); text-decoration: none; }
.nw-tile s.w60 { width: 60%; }
.nw-tile.t1 { inset-block-start: 10px; inset-inline-start: 4%; width: 200px; background: linear-gradient(160deg, #fff, var(--sun)); transform: rotate(-6deg); }
.nw-tile.t2 { inset-block-start: 30px; inset-inline-end: 0; width: 210px; background: var(--dark); color: #fff; animation-delay: -2s; }
.nw-tile.t2 .nw-i { color: var(--acc); }
.nw-tile.t3 { inset-block-start: 200px; inset-inline-start: 18%; width: 230px; background: linear-gradient(160deg, #fff, var(--lilac)); transform: rotate(3deg); animation-delay: -4s; }
.nw-tile.t4 { inset-block-start: 250px; inset-inline-end: 2%; width: 150px; align-items: center; background: var(--acc); color: var(--acc-ink); transform: rotate(-4deg); animation-delay: -1s; }
.nw-tile.t5 { inset-block-start: 160px; inset-inline-end: 22%; flex-direction: row; align-items: center; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: var(--pri); color: #fff; animation-delay: -3s; z-index: 2; }
.nw-tile-font { font-family: Georgia, serif; font-size: 58px; line-height: 1; }
.nw-wave { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.nw-wave i { flex: 1; background: var(--acc); border-radius: 3px; height: 30%; animation: nw-wave 1.2s ease-in-out infinite alternate; }
.nw-wave i:nth-child(2n) { animation-delay: -.3s; } .nw-wave i:nth-child(3n) { animation-delay: -.6s; } .nw-wave i:nth-child(4n) { animation-delay: -.9s; }
.nw-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nw-mini-grid i { height: 38px; border-radius: 8px; background: rgba(91, 61, 245, .18); }
.nw-mini-grid i:nth-child(2), .nw-mini-grid i:nth-child(3) { background: rgba(91, 61, 245, .32); }
@keyframes nw-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes nw-wave { to { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .nw-tile, .nw-wave i { animation: none; } }

/* File-type placeholder (cards without pictures) */
.nw-ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: var(--lilac); color: rgba(22, 20, 31, .5); }
.nw-ph > .nw-i { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; opacity: .55; }
.nw-ph.is-sun { background: var(--sun); } .nw-ph.is-sky { background: var(--sky); } .nw-ph.is-rose { background: var(--rose); } .nw-ph.is-mint { background: var(--mint); } .nw-ph.is-peach { background: var(--peach); }
.nw-ph-file { position: relative; display: grid; place-items: end start; width: 62px; height: 78px; background: #fff; border-radius: 8px 22px 8px 8px; box-shadow: 0 8px 18px -10px rgba(22, 20, 31, .4); padding: 8px; }
.nw-ph-file i { position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 20px; height: 20px; background: rgba(22, 20, 31, .08); border-radius: 0 20px 0 8px; }
.nw-ph-file b { background: var(--dark); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 5px; }
.nw-ph .nw-ph-file { width: 74px; height: 94px; }

/* ---------- Sections ---------- */
.nw-sec { padding-block: 26px; }
.nw-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.nw-dotacc { width: 12px; height: 12px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(201, 242, 102, .35); }
.nw-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.nw-cat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.nw-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.nw-cat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--lilac); color: var(--ink); margin-bottom: 8px; }
.nw-cat.is-sun .nw-cat-ic, .nw-archive-h.is-sun .nw-cat-ic { background: var(--sun); } .nw-cat.is-sky .nw-cat-ic, .nw-archive-h.is-sky .nw-cat-ic { background: var(--sky); } .nw-cat.is-rose .nw-cat-ic, .nw-archive-h.is-rose .nw-cat-ic { background: var(--rose); } .nw-cat.is-mint .nw-cat-ic, .nw-archive-h.is-mint .nw-cat-ic { background: var(--mint); } .nw-cat.is-peach .nw-cat-ic, .nw-archive-h.is-peach .nw-cat-ic { background: var(--peach); }
.nw-cat b { font-weight: 750; line-height: 1.25; }
.nw-cat small { color: var(--mute); font-size: 13px; }
.nw-cat-kids { color: var(--mute); font-size: 12.5px; }
.nw-cats.is-big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.nw-cats.is-big .nw-cat { padding: 22px; min-height: 170px; }
@media (max-width: 1000px) { .nw-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nw-cats.is-big { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nw-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .nw-cat { padding: 12px; } .nw-cat-ic { width: 40px; height: 40px; } .nw-cat b { font-size: 14px; } .nw-cats.is-big { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Product cards ---------- */
.nw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nw-grid.is-rail { grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.nw-grid.is-rail > * { scroll-snap-align: start; }
.nw-pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.nw-pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nw-pcard.is-featured { border-color: var(--pri); box-shadow: 0 0 0 1px var(--pri); }
.nw-pcard-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.nw-pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nw-pcard:hover .nw-pcard-img img { transform: scale(1.04); }
.nw-tags { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.nw-tags i { font-style: normal; background: rgba(22, 20, 31, .82); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; padding: 4px 8px; border-radius: 8px; backdrop-filter: blur(6px); }
.nw-tags i.is-acc { background: var(--acc); color: var(--acc-ink); }
.nw-fav { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.nw-fav[aria-pressed="true"] { color: var(--coral); }
.nw-fav[aria-pressed="true"] .nw-i path { fill: currentColor; }
.nw-fav.is-inline { position: static; width: auto; height: auto; border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; background: var(--paper); box-shadow: none; font-weight: 650; font-size: 14px; }
.nw-pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nw-pcard-cat { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--pri); text-decoration: none; }
.nw-lang-ar .nw-pcard-cat { letter-spacing: 0; text-transform: none; font-size: 13px; }
.nw-pcard h3 { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-pcard h3 a { color: var(--ink); text-decoration: none; }
.nw-pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.nw-pcard-seller { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; color: var(--mute); font-size: 13.5px; text-decoration: none; font-weight: 600; max-width: 100%; }
.nw-pcard-seller span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-pcard-seller .nw-av { width: 22px; height: 22px; border-radius: 7px; font-size: 11px; }
.nw-pcard-seller:hover { color: var(--ink); }
.nw-pcard-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nw-pcard-meta { display: flex; gap: 10px; font-size: 13px; color: var(--mute); }
.nw-price { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--ink); white-space: nowrap; }
.nw-price.is-free { color: var(--good); }
.nw-fav { z-index: 2; }
@media (max-width: 1100px) { .nw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nw-grid.is-rail { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 760px) {
	.nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.nw-grid.is-rail { grid-auto-columns: 62%; }
	.nw-pcard-body { padding: 10px 12px 12px; }
	.nw-pcard h3 { font-size: 14.5px; }
	.nw-price { font-size: 16px; }
	.nw-pcard-meta span:not(.nw-mini-star) { display: none; }
}

/* ---------- How / CTA / sellers / trust ---------- */
.nw-how { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nw-how-col { border-radius: 28px; padding: 28px; background: var(--card); border: 1px solid var(--line); }
.nw-how-col.is-dark { background: var(--dark); color: #fff; border-color: var(--ink); }
.nw-how ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.nw-how li { display: flex; gap: 14px; align-items: flex-start; }
.nw-how li b { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-family: var(--head); background: var(--pri-soft); color: var(--pri-d); }
.nw-how-col.is-dark li b { background: rgba(201, 242, 102, .16); color: var(--acc); }
.nw-how p { margin: 5px 0 0; font-size: 15.5px; }
.nw-how-col.is-dark p { color: #d9d6e4; }
.nw-cta { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: radial-gradient(120% 140% at 0% 0%, #7a5cff 0%, var(--pri) 40%, #2a1a8f 100%); color: #fff; overflow: hidden; position: relative; }
.nw-cta h2 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.nw-cta p { color: #e6e1ff; font-size: 17px; margin: 12px 0 22px; max-width: 46ch; }
.nw-cta-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nw-miniplan { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-size: 13.5px; }
.nw-miniplan b { font-size: 14px; opacity: .85; }
.nw-miniplan strong { font-family: var(--head); font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.nw-miniplan strong small { font-size: 13px; font-family: var(--body); opacity: .75; margin-inline-start: 2px; }
.nw-miniplan span { color: #ddd7ff; }
.nw-miniplan.is-hot { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.nw-miniplan.is-hot span { color: #3b4d12; }
.nw-sellers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.nw-seller { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nw-seller:hover { box-shadow: var(--shadow); }
.nw-seller b { font-size: 14.5px; line-height: 1.3; }
.nw-seller small { color: var(--mute); font-size: 12.5px; }
.nw-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nw-trust li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.nw-trust .nw-i { color: var(--pri); flex: none; }
.nw-trust b { display: block; }
.nw-trust span { color: var(--mute); font-size: 14px; }
@media (max-width: 960px) {
	.nw-hero-in, .nw-cta, .nw-how { grid-template-columns: 1fr; }
	.nw-hero-art { min-height: 0; }
	.nw-stack { height: 320px; transform: scale(.8); transform-origin: top center; margin-bottom: -60px; }
	.nw-sellers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nw-trust { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.nw-hero { padding-top: 28px; }
	.nw-stack, .nw-hero-art:has(.nw-stack) { display: none; }
	.nw-cta-plans { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * clamp(24px, 4vw, 48px)); padding-inline: clamp(24px, 4vw, 48px); }
	.nw-cta-plans::-webkit-scrollbar { display: none; }
	.nw-miniplan { flex: 0 0 72%; scroll-snap-align: center; }
	.nw-cta-text + .nw-cta-plans + .nw-dots, .nw-cta > .nw-dots { justify-self: center; }
}

/* ---------- Archive ---------- */
.nw-archive-h { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.nw-archive-h .nw-cat-ic { width: 60px; height: 60px; margin: 0; border-radius: 18px; }
.nw-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; padding: 10px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.nw-filters select, .nw-f-search { min-height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; font-weight: 600; font-size: 14.5px; }
.nw-f-search { display: flex; align-items: center; gap: 6px; flex: 1 1 220px; color: var(--mute); }
.nw-f-search input { border: 0; outline: 0; background: transparent; flex: 1; min-height: 40px; color: var(--ink); }
.nw-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.nw-pager a, .nw-pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.nw-pager .current { background: var(--dark); color: #fff; border-color: var(--ink); }
.nw-empty { text-align: center; padding: 40px 20px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line); color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nw-empty .nw-i { color: var(--pri); }
.nw-empty h3, .nw-empty h1 { margin: 0; color: var(--ink); }
.nw-empty p { margin: 0; max-width: 46ch; }
.nw-empty.is-big { padding: 64px 20px; }
@media (max-width: 640px) { .nw-filters { border-radius: 18px; } .nw-filters select { flex: 1 1 40%; } }

/* ---------- Product page ---------- */
.nw-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.nw-crumbs a { color: var(--mute); text-decoration: none; }
.nw-crumbs a:hover { color: var(--ink); }
.nw-product-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.nw-product-main { display: grid; gap: 20px; }
.nw-gallery { display: grid; gap: 10px; }
.nw-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 26px; background: var(--paper); scrollbar-width: none; aspect-ratio: 4 / 3; }
.nw-gal::-webkit-scrollbar { display: none; }
.nw-gal figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: grid; place-items: center; }
.nw-gal img { width: 100%; height: 100%; object-fit: contain; }
.nw-gal.is-ph { display: block; }
.nw-gal.is-ph .nw-ph-file { width: 110px; height: 140px; }
.nw-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.nw-thumbs button { flex: none; width: 74px; height: 56px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--paper); }
.nw-thumbs button.is-on { border-color: var(--pri); }
.nw-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.nw-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin: 0 0 16px; }
.nw-product-main .nw-box { margin: 0; }
.nw-box > .nw-h3 { margin-bottom: 12px; }
.nw-ticks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.nw-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.nw-ticks .nw-i { color: var(--good); margin-top: 4px; flex: none; }
.nw-reviews { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.nw-reviews li { padding-top: 14px; border-top: 1px solid var(--line2); }
.nw-reviews li:first-child { border-top: 0; padding-top: 0; }
.nw-review-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nw-review-h small { color: var(--mute); }
.nw-reviews p { margin: 8px 0 0; color: var(--ink2); }
.nw-review-form { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--pri-soft); margin-bottom: 16px; }
.nw-review-form textarea { width: 100%; border-radius: 12px; border: 1px solid var(--line); padding: 10px 12px; background: #fff; }
.nw-review-form .nw-btn { justify-self: start; }
.nw-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.nw-lang-ar .nw-rate { flex-direction: row-reverse; }
.nw-rate input { position: absolute; opacity: 0; }
.nw-rate label { font-size: 30px; line-height: 1; color: #d6d1c6; cursor: pointer; }
.nw-rate input:checked ~ label, .nw-rate label:hover, .nw-rate label:hover ~ label { color: #f5a623; }
.nw-rate input:focus-visible + label { outline: 2px solid var(--pri); border-radius: 4px; }
.nw-product-side { position: sticky; top: 90px; display: grid; gap: 12px; }
.nw-buybox { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.nw-buybox .nw-h1 { font-size: clamp(22px, 2.6vw, 30px); }
.nw-buy-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.nw-buy-meta > a { text-decoration: none; color: inherit; }
.nw-buy-price { display: flex; align-items: baseline; gap: 12px; padding-block: 6px; border-top: 1px solid var(--line2); padding-top: 14px; }
.nw-buy-price .nw-price { font-size: 36px; }
.nw-buy { display: grid; gap: 10px; margin: 0; }
.nw-paybtns { display: grid; gap: 8px; }
.nw-assure { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink2); }
.nw-assure li { display: flex; gap: 8px; align-items: center; }
.nw-assure .nw-i { color: var(--pri); }
.nw-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 0; padding: 14px; border-radius: 16px; background: var(--bg); }
.nw-specs dt { font-size: 12px; color: var(--mute); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nw-lang-ar .nw-specs dt { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.nw-specs dd { margin: 2px 0 0; font-weight: 700; }
.nw-storecard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nw-storecard div { flex: 1; }
.nw-storecard b { display: block; }
.nw-storecard small { color: var(--mute); }
.nw-storecard:hover { border-color: var(--ink); }
.nw-report { font-size: 13px; color: var(--mute); text-align: center; }
@media (max-width: 960px) {
	.nw-product-grid { grid-template-columns: 1fr; }
	.nw-product-side { position: static; order: -1; }
	.nw-product-main { order: 0; }
	.nw-product .nw-gallery { order: -2; }
}

/* ---------- Store page ---------- */
.nw-store-h { display: flex; gap: 22px; align-items: flex-start; padding: 26px; border-radius: 28px; background: linear-gradient(135deg, var(--card), var(--pri-soft)); border: 1px solid var(--line); margin-bottom: 24px; }
.nw-store-h .nw-av { width: 88px; height: 88px; font-size: 34px; }
.nw-store-info { flex: 1; }
.nw-store-info p { margin: 8px 0 0; color: var(--ink2); max-width: 70ch; }
.nw-store-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0; margin: 14px 0 8px; }
.nw-store-stats b { display: block; font-family: var(--head); font-size: 22px; }
.nw-store-stats span { font-size: 13px; color: var(--mute); }
@media (max-width: 640px) { .nw-store-h { flex-direction: column; padding: 20px; } }

/* ---------- Plans page ---------- */
.nw-plans-h { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 10px auto 30px; max-width: 760px; }
.nw-plans-h .nw-lead { margin: 0; }
.nw-plans-h.is-left { text-align: start; align-items: flex-start; margin-inline: 0; }
.nw-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.nw-seg button, .nw-seg a, .nw-seg label > span { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--mute); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nw-seg [aria-pressed="true"], .nw-seg [aria-selected="true"], .nw-seg input:checked + span { background: var(--dark); color: #fff; }
.nw-seg em { font-style: normal; font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); }
.nw-seg.is-radio label { position: relative; }
.nw-seg.is-radio input { position: absolute; opacity: 0; }
.nw-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.nw-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.nw-plan.is-hot { background: var(--dark); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.nw-plan.is-hot h2 { color: #fff; }
.nw-plan.is-mine { outline: 3px solid var(--acc); }
.nw-plan-flag { position: absolute; inset-block-start: -13px; inset-inline-start: 24px; background: var(--acc); color: var(--acc-ink); font-weight: 800; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; }
.nw-plan h2 { font-size: 24px; }
.nw-plan-sub { margin: -6px 0 0; color: var(--mute); }
.nw-plan.is-hot .nw-plan-sub { color: #bdb8cc; }
.nw-plan-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 58px; }
.nw-plan-price strong { font-family: var(--head); font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.nw-plan-price strong small { font-size: 15px; font-family: var(--body); font-weight: 600; opacity: .7; letter-spacing: 0; margin-inline-start: 3px; }
.nw-plan-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line2); display: grid; gap: 10px; flex: 1; align-content: start; }
.nw-plan.is-hot .nw-plan-list { border-color: rgba(255, 255, 255, .12); }
.nw-plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.nw-plan-list .nw-i { color: var(--good); flex: none; margin-top: 2px; }
.nw-plan.is-hot .nw-plan-list .nw-i { color: var(--acc); }
.nw-plan-list li.is-key { font-weight: 750; }
.nw-plan-list.is-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; border: 0; padding-top: 10px; }
.nw-plan-cta { display: grid; gap: 8px; }
.nw-plan.is-hot .nw-btn.is-pri { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
.nw-plan.is-hot .nw-btn.is-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.nw-renew summary { cursor: pointer; text-align: center; font-weight: 650; color: var(--pri); list-style: none; padding: 6px; }
.nw-plan.is-hot .nw-renew summary { color: var(--acc); }
.nw-faq { margin-top: 40px; }
.nw-faq.is-narrow { max-width: 820px; margin-inline: auto; }
.nw-faq > .nw-h2 { margin-bottom: 12px; }
.nw-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; margin-bottom: 10px; }
.nw-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.nw-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--pri); }
.nw-faq details[open] summary::after { content: "–"; }
.nw-faq details p { margin: 0 0 16px; color: var(--ink2); }
/* Swipe between plans on phones and tablets (left / right instead of up / down). */
.nw-swipe { display: none; }
@media (max-width: 900px) {
	.nw-plans { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 8%; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin-inline: calc(-1 * max(4vw, 16px)); padding: 22px 8% 14px; scrollbar-width: none; }
	.nw-plans::-webkit-scrollbar { display: none; }
	.nw-plan { flex: 0 0 min(84%, 400px); scroll-snap-align: center; scroll-snap-stop: always; transition: transform .25s, opacity .25s; }
	.nw-plan.is-hot { transform: none; }
	.nw-plans.is-js .nw-plan:not(.is-active) { transform: scale(.95); opacity: .75; }
	.nw-swipe { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; }
	.nw-swipe small { color: var(--mute); font-size: 13px; }
}
.nw-dots { display: flex; gap: 6px; }
.nw-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #d3cfdc; transition: width .2s, background .2s; }
.nw-dots button.is-on { width: 24px; background: var(--pri); }
.nw-cta .nw-dots button { background: rgba(255, 255, 255, .35); }
.nw-cta .nw-dots button.is-on { background: var(--acc); }

/* Onboarding steps (sign-up → plan → first product) */
.nw-steps-bar { list-style: none; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0 0 6px; flex-wrap: wrap; justify-content: center; }
.nw-steps-bar li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--mute); }
.nw-steps-bar li + li::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--line); }
.nw-steps-bar i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--card); border: 1.5px solid var(--line); }
.nw-steps-bar .is-done i { background: var(--good); border-color: var(--good); color: #fff; }
.nw-steps-bar .is-on { color: var(--ink); }
.nw-steps-bar .is-on i { background: var(--pri); border-color: var(--pri); color: #fff; }

/* Sign-up: buy or sell */
.nw-intent { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nw-intent legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.nw-intent label { position: relative; display: block; cursor: pointer; }
.nw-intent input { position: absolute; opacity: 0; }
.nw-intent label > span { display: grid; gap: 2px; height: 100%; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background .15s; }
.nw-intent .nw-i { color: var(--mute); margin-bottom: 4px; }
.nw-intent small { color: var(--mute); font-size: 12.5px; line-height: 1.4; }
.nw-intent input:checked + span { border-color: var(--pri); background: var(--pri-soft); box-shadow: 0 0 0 3px var(--pri-soft); }
.nw-intent input:checked + span .nw-i { color: var(--pri); }
.nw-intent input:focus-visible + span { outline: 3px solid var(--pri); outline-offset: 2px; }
.nw-sellbox { padding: 14px; border-radius: 16px; background: var(--pri-soft); }

/* ---------- Forms ---------- */
.nw-form { display: grid; gap: 16px; }
.nw-form fieldset { margin: 0; }
.nw-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 18px; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.nw-lang-ar .nw-form legend { float: right; }
.nw-form legend + * { clear: both; }
.nw-step { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--pri); color: #fff; font-size: 15px; }
.nw-fg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nw-fg.is-one { grid-template-columns: 1fr; }
.nw-fg .is-wide { grid-column: 1 / -1; }
.nw-form label > span, .nw-fg label > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.nw-form label > span small, .nw-fg label > span small { font-weight: 500; color: var(--mute); }
.nw-form input[type=text], .nw-form input[type=email], .nw-form input[type=password], .nw-form input[type=url], .nw-form input[type=number], .nw-form select, .nw-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.nw-form textarea { min-height: 100px; line-height: 1.55; resize: vertical; }
.nw-form :is(input, select, textarea):focus { outline: 0; border-color: var(--pri); box-shadow: 0 0 0 4px var(--pri-soft); }
.nw-form input:disabled { background: var(--bg); color: var(--mute); }
.nw-check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 500; }
.nw-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pri); flex: none; }
.nw-form.is-plain { gap: 14px; }
.nw-hp { position: absolute; inset-inline-start: -9999px; }
.nw-drop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 20px; border-radius: 20px; border: 2px dashed #cfc9f6; background: var(--pri-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.nw-drop:hover, .nw-drop.is-over { border-color: var(--pri); background: #e6dfff; }
.nw-drop.is-set { border-style: solid; border-color: var(--good); background: #e6f8ee; }
.nw-drop .nw-i { color: var(--pri); }
.nw-drop b { font-size: 16px; word-break: break-all; }
.nw-drop small { color: var(--mute); font-size: 13px; }
.nw-drop .nw-exts { font-size: 11.5px; letter-spacing: .02em; }
.nw-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.nw-drop.is-small { padding: 20px; }
.nw-shots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.nw-shots img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.nw-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.nw-money input { font-size: 22px !important; font-weight: 800; font-family: var(--head); }
.nw-youget { padding: 12px 16px; border-radius: 14px; background: #e6f8ee; display: grid; }
.nw-youget span { font-size: 13px; color: #186a43; font-weight: 700; }
.nw-youget b { font-family: var(--head); font-size: 26px; color: #12583a; }
.nw-youget small { color: #3f7a5c; font-size: 12.5px; }
.nw-sticky-save { position: sticky; bottom: 0; z-index: 5; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.nw-progress { position: relative; height: 32px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.nw-progress i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: var(--pri); transition: width .2s; }
.nw-progress span { position: relative; display: grid; place-items: center; height: 100%; font-weight: 800; font-size: 13px; mix-blend-mode: difference; color: #fff; }
.nw-logo-field { display: flex !important; align-items: center; gap: 14px; flex-wrap: wrap; }
.nw-logo-field > span { flex: 1; margin: 0 !important; }
.nw-logo-field small { display: block; font-weight: 500; color: var(--mute); }
@media (max-width: 640px) { .nw-fg, .nw-price-row { grid-template-columns: 1fr; } }

/* ---------- Submit page ---------- */
.nw-submit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.nw-submit-side { position: sticky; top: 90px; }
.nw-side-usage { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; font-size: 14px; }
.nw-side-usage li { display: flex; justify-content: space-between; gap: 10px; }
.nw-side-usage span { color: var(--mute); }
.nw-box.is-tips ul { padding-inline-start: 18px; margin: 8px 0 0; font-size: 14px; color: var(--ink2); display: grid; gap: 6px; }
.nw-limit { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 40px 20px; }
.nw-limit .nw-i { color: var(--pri); }
.nw-openstore { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 34px 22px; background: linear-gradient(160deg, var(--card), var(--pri-soft)); }
.nw-openstore p { max-width: 52ch; margin: 0; color: var(--ink2); }
.nw-openstore form { width: 100%; max-width: 440px; text-align: start; }
.nw-openstore-art { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--pri); color: #fff; box-shadow: 0 16px 30px -14px var(--pri); }
@media (max-width: 960px) { .nw-submit-grid { grid-template-columns: 1fr; } .nw-submit-side { position: static; } }

/* ---------- Dashboard ---------- */
.nw-dash-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.nw-dash-who { display: flex; align-items: center; gap: 14px; }
.nw-dash-who .nw-av { width: 52px; height: 52px; border-radius: 16px; font-size: 20px; }
.nw-dash-who p { margin: 4px 0 0; }
.nw-dash-who a { color: var(--ink2); font-weight: 650; }
.nw-dash-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.nw-dash-nav { position: sticky; top: 90px; display: grid; gap: 2px; padding: 8px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.nw-dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: var(--ink2); text-decoration: none; font-weight: 650; }
.nw-dash-nav a:hover { background: var(--bg); }
.nw-dash-nav a.is-on { background: var(--dark); color: #fff; }
.nw-dash-nav a.is-on .nw-i { color: var(--acc); }
.nw-dash-out { color: var(--coral) !important; font-size: 14px; margin-top: 6px; border-top: 1px solid var(--line2); border-radius: 0 !important; }
.nw-dash-body > .nw-h2 { margin-bottom: 16px; }
.nw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.nw-kpi { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.nw-kpi > span { font-size: 13px; color: var(--mute); font-weight: 700; }
.nw-kpi > b { font-family: var(--head); font-size: 26px; line-height: 1.2; }
.nw-kpi > small { color: var(--mute); font-size: 12.5px; }
.nw-kpi.is-pri { background: var(--dark); color: #fff; border-color: var(--ink); }
.nw-kpi.is-pri > span, .nw-kpi.is-pri > small { color: #bdb8cc; }
.nw-kpi.is-pri > b { color: var(--acc); }
.nw-meter { height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; margin-top: 6px; }
.nw-meter i { display: block; height: 100%; border-radius: 99px; background: var(--pri); }
.nw-meter.is-hot i { background: var(--coral); }
.nw-kpi .nw-meter + small, .nw-usage small { font-size: 12px; color: var(--mute); }
.nw-usage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.nw-usage span { font-size: 13.5px; font-weight: 700; }
.nw-todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nw-todo li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.nw-todo li .nw-i { color: var(--pri); flex: none; }
.nw-todo li.is-hot { background: #fff1ec; }
.nw-todo li.is-hot .nw-i { color: var(--coral); }
.nw-todo li.is-ok .nw-i { color: var(--good); }
.nw-todo a { color: var(--ink); font-weight: 650; }
.nw-rows { list-style: none; margin: 0; padding: 0; }
.nw-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line2); }
.nw-rows li:first-child { border-top: 0; }
.nw-rows b { display: block; }
.nw-rows small { color: var(--mute); }
.nw-rows em { font-style: normal; font-weight: 800; color: var(--good); white-space: nowrap; }
.nw-mylist, .nw-library { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nw-mylist > li, .nw-library > li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.nw-mylist-img { display: block; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--paper); }
.nw-mylist-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-mylist-img .nw-ph-file { transform: scale(.6); }
.nw-mylist-img .nw-ph > .nw-i { display: none; }
.nw-mylist-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw-mylist-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; color: var(--mute); margin-top: 4px; }
.nw-mylist-act { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.nw-mylist-act form { margin: 0; }
.nw-mylist-act small { color: var(--mute); font-size: 12px; }
.nw-boost { margin-top: 8px; }
.nw-boost summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--pri); list-style: none; }
.nw-boost-form { display: grid; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--bg); }
.nw-packs { display: flex; flex-wrap: wrap; gap: 6px; }
.nw-packs label { position: relative; }
.nw-packs input { position: absolute; opacity: 0; }
.nw-packs span { display: inline-block; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 650; font-size: 14px; cursor: pointer; }
.nw-packs input:checked + span { border-color: var(--pri); background: var(--pri-soft); color: var(--pri-d); }
.nw-packs input:focus-visible + span { outline: 2px solid var(--pri); }
.nw-boost-form .nw-paybtns { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.nw-boost-form .nw-btn.is-big { min-height: 42px; font-size: 14px; }
.nw-freefeat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.nw-freefeat input { width: 80px; min-height: 36px; border-radius: 10px; border: 1px solid var(--line); padding: 4px 8px; }
.nw-table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.nw-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.nw-table th { text-align: start; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); background: var(--bg); }
.nw-lang-ar .nw-table th { text-transform: none; letter-spacing: 0; font-size: 13px; }
.nw-table td { padding: 12px 14px; border-top: 1px solid var(--line2); vertical-align: top; }
.nw-table small { color: var(--mute); }
.nw-bankbox { padding: 16px; border-radius: 16px; background: var(--bg); border: 1px dashed var(--line); margin-bottom: 12px; }
.nw-bankbox dl { display: grid; gap: 8px; margin: 10px 0; }
.nw-bankbox dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line2); padding-bottom: 6px; }
.nw-bankbox dt { color: var(--mute); }
.nw-bankbox dd { margin: 0; font-weight: 700; user-select: all; text-align: end; }
.nw-curplan .nw-h2 { margin-top: 2px; }
@media (max-width: 1060px) { .nw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
	.nw-dash-grid { grid-template-columns: 1fr; }
	.nw-dash-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 5px; gap: 4px; }
	.nw-dash-nav::-webkit-scrollbar { display: none; }
	.nw-dash-nav a { flex: none; padding: 9px 14px; border-radius: 999px; font-size: 14px; }
	.nw-dash-nav a .nw-i { width: 18px; height: 18px; }
	.nw-dash-out { display: none !important; }
	.nw-usage { grid-template-columns: 1fr; }
	.nw-mylist > li, .nw-library > li { grid-template-columns: 56px minmax(0, 1fr); }
	.nw-mylist-img { width: 56px; height: 56px; }
	.nw-mylist-act { grid-column: 1 / -1; justify-content: flex-start; }
	.nw-table thead { display: none; }
	.nw-table, .nw-table tbody, .nw-table tr, .nw-table td { display: block; width: 100%; }
	.nw-table tr { padding: 10px 14px; border-top: 1px solid var(--line); }
	.nw-table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; }
	.nw-table td::before { content: attr(data-l); color: var(--mute); font-size: 13px; }
}
@media (max-width: 520px) { .nw-kpis { gap: 8px; } .nw-kpi { padding: 12px 14px; } .nw-kpi > b { font-size: 21px; } }

/* ---------- Auth ---------- */
.nw-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; padding-block: 34px 60px; }
.nw-auth-art { position: relative; padding: 36px; border-radius: 30px; background: radial-gradient(120% 140% at 0% 0%, #7a5cff, var(--pri) 45%, #2a1a8f); color: #fff; display: grid; gap: 18px; overflow: hidden; min-height: 460px; align-content: start; }
.nw-auth-art h2 { font-family: var(--head); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 0; }
.nw-auth-art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nw-auth-art li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.nw-auth-art li .nw-i { color: var(--acc); }
.nw-auth-photo { border-radius: 20px; margin-top: 10px; }
.nw-auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; }
.nw-auth-card .nw-seg { justify-self: start; }
.nw-auth-card .nw-btn.is-big { width: 100%; }
@media (max-width: 860px) { .nw-auth { grid-template-columns: 1fr; } .nw-auth-art { min-height: 0; order: 2; } }

/* ---------- Support ---------- */
.nw-support-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.nw-support .nw-faq { margin-top: 0; }
.nw-contact-card { display: grid; gap: 10px; position: sticky; top: 90px; }
.nw-social { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
@media (max-width: 860px) { .nw-support-grid { grid-template-columns: 1fr; } .nw-contact-card { position: static; } }

/* ---------- Footer + tab bar ---------- */
.nw-foot { background: var(--foot); color: #cfcbdb; margin-top: 40px; padding: 50px 0 30px; border-radius: 34px 34px 0 0; }
.nw-foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.nw-foot .nw-brand { color: #fff; }
.nw-foot-brand p { max-width: 40ch; font-size: 14.5px; }
.nw-foot-col { display: grid; gap: 8px; align-content: start; }
.nw-foot-col b { color: #fff; margin-bottom: 4px; }
.nw-foot a { color: #cfcbdb; text-decoration: none; }
.nw-foot a:hover { color: #fff; }
.nw-foot .nw-social a { background: rgba(255, 255, 255, .08); color: #fff; }
.nw-foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.nw-paylogos { display: flex; gap: 6px; flex-wrap: wrap; }
.nw-paylogos i { font-style: normal; font-weight: 800; font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #fff; }
.nw-tabbar { display: none; }
@media (max-width: 820px) {
	.nw-foot { padding-bottom: 100px; border-radius: 26px 26px 0 0; }
	.nw-foot-in { grid-template-columns: 1fr 1fr; }
	.nw-foot-brand { grid-column: 1 / -1; }
	.nw-tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
	.nw-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: var(--mute); text-decoration: none; font-size: 11px; font-weight: 650; border-radius: 14px; }
	.nw-tabbar a.is-on { color: var(--pri); }
	.nw-tabbar a.is-sell { color: var(--ink); }
	.nw-tabbar a.is-sell .nw-i { width: 44px; height: 44px; padding: 10px; margin-top: -18px; border-radius: 16px; background: var(--pri); color: #fff; box-shadow: 0 10px 20px -8px var(--pri); }
	.nw-sticky-save { bottom: 70px; }
	body { padding-bottom: 0; }
}
.nw-cta > .nw-dots { display: none; }
@media (max-width: 560px) { .nw-cta > .nw-dots { display: flex; justify-content: center; } }
.nw-plan .nw-btn, .nw-buybox .nw-btn { white-space: normal; text-align: center; }
.nw-form .nw-intent legend { float: none; width: auto; display: block; font-family: var(--body); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.nw-form .nw-intent label > span { display: grid; margin: 0; font-weight: 500; }
.nw-intent b, .nw-intent small { display: block; }
.nw-intent b { font-size: 16px; }

/* Language menu (header globe), drawer and footer lists */
.nw-langmenu { position: relative; }
.nw-langmenu > summary { list-style: none; }
.nw-langmenu > summary::-webkit-details-marker { display: none; }
.nw-langbtn { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-weight: 750; font-size: 13.5px; }
.nw-langbtn:hover, .nw-langmenu[open] .nw-langbtn { border-color: var(--ink); }
.nw-langmenu .nw-langlist { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 180px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 2px; }
.nw-langmenu .nw-langlist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; }
.nw-langmenu .nw-langlist a:hover { background: var(--bg); }
.nw-langmenu .nw-langlist a.is-on { background: var(--pri-soft); color: var(--pri-d); }
.nw-langlist.is-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nw-langlist.is-inline > .nw-i { color: var(--mute); margin-inline-end: 2px; }
.nw-langlist.is-inline a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); text-decoration: none; font-weight: 650; font-size: 14px; }
.nw-langlist.is-inline a.is-on { background: var(--dark); border-color: var(--ink); color: #fff; }
.nw-foot .nw-langlist.is-inline a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #cfcbdb; font-size: 13px; }
.nw-foot .nw-langlist.is-inline a.is-on { background: #fff; color: var(--ink); }
@media (max-width: 820px) { .nw-langbtn { height: 38px; padding: 0 8px; border: 0; background: transparent; } .nw-langbtn b { font-size: 12.5px; } }

/* ---------- Wallet ---------- */
.nw-walletchip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--dark); color: #fff; text-decoration: none; margin-inline: 4px; }
.nw-walletchip:hover { background: var(--pri-d); }
.nw-walletchip > .nw-i { color: var(--acc); flex: none; }
.nw-walletchip span { display: grid; line-height: 1.1; }
.nw-walletchip small { font-size: 10.5px; opacity: .7; font-weight: 600; }
.nw-walletchip b { font-family: var(--head); font-size: 15px; font-weight: 800; }
.nw-wc-earn { padding-inline-start: 10px; border-inline-start: 1px solid rgba(255, 255, 255, .2); }
@media (max-width: 1060px) { .nw-wc-earn { display: none !important; } }
@media (max-width: 820px) { .nw-walletchip { height: 36px; padding: 0 10px 0 8px; gap: 6px; margin: 0; } .nw-walletchip small { display: none; } .nw-walletchip b { font-size: 13.5px; } .nw-walletchip > .nw-i { width: 16px; height: 16px; } }
@media (max-width: 380px) { .nw-bar-end .nw-langbtn b { display: none; } }
.nw-balances { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.nw-balances.is-one { grid-template-columns: minmax(0, 520px); }
.nw-balcard { display: grid; gap: 6px; align-content: start; justify-items: start; padding: 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.nw-balcard > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mute); }
.nw-balcard > b { font-family: var(--head); font-size: clamp(34px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.nw-balcard > small { color: var(--mute); }
.nw-balcard .nw-btn { margin-top: 8px; }
.nw-balcard.is-wallet { background: radial-gradient(120% 140% at 0% 0%, #7a5cff, var(--pri) 45%, #2a1a8f); color: #fff; border: 0; }
.nw-balcard.is-wallet > span, .nw-balcard.is-wallet > small { color: #ddd7ff; }
.nw-balcard.is-wallet > span .nw-i { color: var(--acc); }
.nw-balcard.is-earn > span .nw-i { color: var(--good); }
.nw-seg.is-tabs { margin-bottom: 16px; }
.nw-seg.is-tabs a { gap: 6px; }
.nw-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nw-amounts label { position: relative; }
.nw-amounts input { position: absolute; opacity: 0; }
.nw-amounts span { display: grid; place-items: center; min-height: 56px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font-family: var(--head); font-weight: 800; font-size: 19px; cursor: pointer; }
.nw-amounts input:checked + span { border-color: var(--pri); background: var(--pri-soft); color: var(--pri-d); box-shadow: 0 0 0 3px var(--pri-soft); }
.nw-amounts input:focus-visible + span { outline: 3px solid var(--pri); outline-offset: 2px; }
.nw-deposit .nw-money, .nw-withdraw .nw-money { max-width: 320px; }
.nw-deposit .nw-paybtns { max-width: 420px; }
.nw-btn.is-wallet { background: var(--dark); color: #fff; }
.nw-btn.is-wallet .nw-i { color: var(--acc); }
.nw-btn.is-wallet:hover { background: var(--pri-d); }
.nw-goal { display: grid; gap: 8px; max-width: 480px; }
.nw-goal .nw-meter { height: 12px; }
.nw-rows em.is-out { color: var(--ink2); }
@media (max-width: 700px) { .nw-balances { grid-template-columns: 1fr; } .nw-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nw-form .nw-amounts label > span { display: grid; place-items: center; margin: 0; font-size: 19px; font-weight: 800; }

/* ---------- Notifications ---------- */
.nw-bell { position: relative; }
.nw-badge { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.nw-badge.is-inline { position: static; margin-inline-start: auto; box-shadow: none; }
.nw-tabbar a { position: relative; }
.nw-tabbar .nw-badge { inset-block-start: 0; inset-inline-end: calc(50% - 22px); }
.nw-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nw-notes li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.nw-notes li.is-new { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-soft); }
.nw-notes p { margin: 0; font-weight: 600; }
.nw-notes small { color: var(--mute); }
.nw-note-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri-d); }
.nw-notes .is-missed .nw-note-ic, .nw-notes .is-cap .nw-note-ic { background: #ffe9e2; color: var(--coral); }
.nw-notes .is-sale .nw-note-ic, .nw-notes .is-payout .nw-note-ic, .nw-notes .is-back .nw-note-ic { background: #e0f6ea; color: var(--good); }
@media (max-width: 560px) { .nw-notes li { grid-template-columns: 40px minmax(0, 1fr); } .nw-notes li > .nw-btn { grid-column: 2; justify-self: start; } }

/* ---------- AI studios ---------- */
.nw-ainote { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 12px; background: linear-gradient(90deg, #efeafe, #f1fbe3); color: var(--pri-d); font-size: 13.5px; font-weight: 650; }
.nw-store-info .nw-ainote { margin-top: 10px; display: inline-flex; }
.nw-autocover { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 9% 10%; overflow: hidden; background: var(--lilac); color: var(--ink); }
.nw-autocover::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-block-start: -25%; inset-inline-end: -20%; background: rgba(255, 255, 255, .55); }
.nw-autocover::after { content: ""; position: absolute; width: 45%; aspect-ratio: 1; border-radius: 34%; inset-block-end: -18%; inset-inline-start: -10%; background: rgba(22, 20, 31, .06); transform: rotate(18deg); }
.nw-autocover.v1::before { border-radius: 30%; transform: rotate(25deg); }
.nw-autocover.v2::before { inset-block-start: auto; inset-block-end: -30%; }
.nw-autocover.v3 { background-image: linear-gradient(135deg, rgba(255,255,255,.5) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.5) 75%, transparent 75%); background-size: 28px 28px; }
.nw-autocover.is-sun { background-color: var(--sun); } .nw-autocover.is-sky { background-color: var(--sky); } .nw-autocover.is-rose { background-color: var(--rose); } .nw-autocover.is-mint { background-color: var(--mint); } .nw-autocover.is-peach { background-color: var(--peach); } .nw-autocover.is-lilac { background-color: var(--lilac); }
.nw-autocover > * { position: relative; z-index: 1; }
.nw-autocover b { font-family: var(--head); font-weight: 800; font-size: clamp(15px, 1.7vw, 22px); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nw-gal .nw-autocover b { font-size: clamp(24px, 3.6vw, 44px); }
.nw-autocover small { font-size: 12px; font-weight: 700; opacity: .6; }
.nw-ac-type { align-self: flex-start; background: var(--dark); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }
.nw-autocover > .nw-i { position: absolute; inset-block-end: 12px; inset-inline-end: 14px; opacity: .35; }
.nw-mylist-img .nw-autocover b, .nw-mylist-img .nw-autocover small { display: none; }
/* AI covers inside cards: no link underline, room for the corner tags, compact badge. */
.nw-pcard-img, .nw-gal a { text-decoration: none; }
.nw-pcard .nw-ac-type { display: none; }
.nw-pcard .nw-autocover { padding: 52px 9% 12%; justify-content: flex-start; }
.nw-pcard .nw-autocover b { font-size: clamp(14px, 1.5vw, 20px); -webkit-line-clamp: 3; }
.nw-pcard .nw-aibadge { font-size: 0; gap: 0; padding: 3px 5px; margin-inline-start: 4px; }
.nw-pcard .nw-aibadge svg { width: 12px; height: 12px; }
@media (max-width: 600px) {
	.nw-pcard .nw-autocover { padding: 46px 10px 10px; }
	.nw-pcard .nw-autocover b { font-size: 13.5px; }
	.nw-pcard .nw-autocover > .nw-i, .nw-pcard .nw-autocover small { display: none; }
}

/* ---------- Language flags ---------- */
.nw-flag { flex: none; display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(22, 20, 31, .12); overflow: hidden; }
.nw-langbtn.has-flag { gap: 6px; padding: 0 10px 0 9px; }
.nw-langbtn .nw-chev { opacity: .55; transition: transform .2s; }
.nw-langmenu[open] .nw-chev { transform: rotate(180deg); }
.nw-langmenu .nw-langlist a { justify-content: flex-start; }
.nw-langmenu .nw-langlist a span { flex: 1; }
.nw-langlist.is-inline a { display: inline-flex; align-items: center; gap: 8px; }
.nw-langlist.is-inline a .nw-flag { width: 20px; height: 13px; border-radius: 3px; }
.nw-foot .nw-langlist.is-inline .nw-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
@media (max-width: 820px) { .nw-langbtn.has-flag { padding: 0 6px; gap: 4px; } }
@media (max-width: 380px) { .nw-bar-end .nw-langbtn .nw-chev { display: none; } }

/* ---------- Product page 5.6 ---------- */
.nw-pg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "media buy" "body buy"; gap: 22px 32px; align-items: start; }
.nw-pg-media { grid-area: media; }
.nw-pg-buy { grid-area: buy; position: sticky; top: 88px; display: grid; gap: 12px; }
.nw-pg-body { grid-area: body; display: grid; gap: 18px; }
.nw-pg-body .nw-box { margin: 0; }
.nw-gallery { position: relative; }
.nw-gal { border-radius: 28px; box-shadow: 0 1px 0 var(--line); }
.nw-gal-count { position: absolute; top: 14px; left: 14px; direction: ltr; z-index: 2; padding: 4px 10px; border-radius: 99px; background: rgba(22, 20, 31, .72); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
html[dir="rtl"] .nw-gal-count { left: auto; right: 14px; }
.nw-gal-acts { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 2; display: flex; gap: 8px; }
.nw-gal-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 4px 14px rgba(22, 20, 31, .12); cursor: pointer; }
.nw-gal-btn[aria-pressed="true"] { color: #e5484d; }
.nw-gal-btn[aria-pressed="true"] .nw-i { fill: currentColor; }
.nw-thumbs { margin-top: 10px; }
.nw-buybox { padding: 24px; gap: 14px; border-radius: 28px; }
.nw-buy-top { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-catpill, .nw-hotpill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 700; text-decoration: none; }
.nw-catpill { background: var(--pri-soft); color: var(--pri-d); }
.nw-hotpill { background: #fff1d6; color: #9a5b00; }
.nw-buybox .nw-h1 { font-size: clamp(24px, 2.7vw, 32px); line-height: 1.18; margin: 0; }
.nw-buy-price { flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-top: 1px solid var(--line2); padding: 16px 0 2px; }
.nw-buy-price .nw-price { font-size: 40px; letter-spacing: -.02em; line-height: 1; }
.nw-buy-price > span { color: var(--mute); font-size: 13.5px; font-weight: 600; }
.nw-buy-act { display: grid; gap: 10px; }
.nw-buy-act .nw-btn.is-big { min-height: 56px; font-size: 17px; border-radius: 18px; }
.nw-assure { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nw-assure li { flex-direction: column; text-align: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--bg); font-size: 12.5px; font-weight: 650; line-height: 1.3; }
.nw-paylogos.is-light { justify-content: center; }
.nw-paylogos.is-light i { background: var(--bg); color: var(--ink2); border: 1px solid var(--line2); }
.nw-specchips { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line2); display: flex; flex-wrap: wrap; gap: 8px; }
.nw-specchips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 13.5px; }
.nw-specchips .nw-i { color: var(--pri); }
.nw-updated { margin: 0; }
.nw-storecard { border-radius: 22px; padding: 16px; }
.nw-storecard b { display: flex; align-items: center; gap: 4px; }
.nw-storecard small { display: block; color: var(--mute); margin-top: 2px; line-height: 1.4; }
.nw-storecard > div { min-width: 0; }
.nw-incl ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.nw-incl li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-weight: 600; font-size: 14.5px; }
.nw-incl li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #dff5e8; color: var(--good); }
.nw-gethow ol { list-style: none; counter-reset: s; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nw-gethow li { counter-increment: s; position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line); }
.nw-gethow li i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri-d); margin-bottom: 6px; }
.nw-gethow li::after { content: counter(s); position: absolute; inset-block-start: 14px; inset-inline-end: 16px; font-weight: 800; font-size: 26px; color: var(--line); font-family: var(--head); }
.nw-gethow li span { color: var(--mute); font-size: 13.5px; line-height: 1.45; }
.nw-revsum { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 16px; margin: 12px 0 6px; border-radius: 18px; background: var(--bg); }
.nw-revsum-big { display: grid; justify-items: center; gap: 4px; }
.nw-revsum-big b { font-family: var(--head); font-size: 44px; line-height: 1; }
.nw-revsum-big small { color: var(--mute); font-size: 12.5px; }
.nw-revbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.nw-revbars li { display: grid; grid-template-columns: 34px 1fr 26px; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.nw-revbars i { height: 8px; border-radius: 9px; background: var(--line2); overflow: hidden; }
.nw-revbars em { display: block; height: 100%; border-radius: 9px; background: #f5a623; }
.nw-revbars small { color: var(--mute); text-align: end; }
.nw-reviews li { display: flex; gap: 12px; }
.nw-reviews li > div { flex: 1; min-width: 0; }
.nw-rev-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); font-weight: 800; color: var(--pri-d); }
.nw-review-s { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.nw-review-s small { color: var(--mute); }
.nw-faq details { border-top: 1px solid var(--line2); }
.nw-faq details:first-of-type { margin-top: 8px; }
.nw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-weight: 700; }
.nw-faq summary::-webkit-details-marker { display: none; }
.nw-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 18px; font-weight: 600; transition: transform .2s; }
.nw-faq details[open] summary::after { transform: rotate(45deg); }
.nw-faq details p { margin: 0 0 14px; color: var(--ink2); }
.nw-stickybuy { display: none; }
@media (max-width: 960px) {
	.nw-pg { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "buy" "body"; gap: 16px; }
	.nw-pg-buy { position: static; }
	.nw-product .nw-crumbs { margin-bottom: 10px; }
}
@media (max-width: 820px) {
	.nw-product { padding-top: 8px; }
	.nw-gal { border-radius: 22px; }
	.nw-thumbs { display: none; }
	.nw-buybox { padding: 18px; border-radius: 24px; }
	.nw-buy-price .nw-price { font-size: 36px; }
	.nw-gethow ol { grid-template-columns: 1fr; }
	.nw-gethow li { grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
	.nw-gethow li i { grid-row: span 2; margin: 0; }
	.nw-revsum { grid-template-columns: 1fr; gap: 12px; }
	.nw-stickybuy:not([hidden]) { position: fixed; inset-inline: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 49; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 20px; background: rgba(255, 255, 255, .97); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(22, 20, 31, .16); animation: nwUp .25s ease; }
	.nw-lang-ar .nw-stickybuy:not([hidden]) { padding: 10px 16px 10px 10px; }
	.nw-stickybuy > div { display: grid; min-width: 0; }
	.nw-stickybuy .nw-price { font-size: 21px; line-height: 1.1; }
	.nw-stickybuy small { color: var(--mute); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.nw-stickybuy .nw-btn { flex: none; min-height: 46px; border-radius: 14px; }
}
@keyframes nwUp { from { transform: translateY(20px); opacity: 0; } }

/* ---------- New visitors ---------- */
.nw-login { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.nw-login:hover { background: var(--paper); }
.nw-howlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--pri-d); font-weight: 700; text-decoration: none; }
.nw-howlink span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.nw-welcome:not([hidden]) { position: fixed; z-index: 90; inset-inline-start: 24px; bottom: 24px; width: min(420px, calc(100vw - 24px)); display: grid; gap: 14px; padding: 22px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(22, 20, 31, .22); animation: nwUp .35s ease; }
.nw-welcome-x { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--ink2); }
.nw-welcome-h { display: flex; gap: 12px; align-items: flex-start; padding-inline-end: 34px; }
.nw-welcome-h h2 { margin: 0 0 4px; font-family: var(--head); font-size: 20px; line-height: 1.25; }
.nw-welcome-h p { margin: 0; color: var(--ink2); font-size: 14.5px; line-height: 1.5; }
.nw-welcome-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nw-welcome-ch a { display: grid; gap: 4px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.nw-welcome-ch a:hover { border-color: var(--pri); transform: translateY(-2px); }
.nw-welcome-ch i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri-d); margin-bottom: 4px; }
.nw-welcome-ch a.is-sell i { background: #e8fbd0; color: #3f6a00; }
.nw-welcome-ch b { font-size: 15.5px; }
.nw-welcome-ch small { color: var(--mute); font-size: 12.5px; line-height: 1.4; }
.nw-welcome-skip { justify-self: center; border: 0; background: none; color: var(--mute); font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
	.nw-welcome:not([hidden]) { inset-inline: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 18px; }
}
.nw-start ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nw-start a { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; border-radius: 18px; background: var(--bg); color: var(--ink); text-decoration: none; }
.nw-start a:hover { background: var(--pri-soft); }
.nw-start i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--card); color: var(--pri); }
.nw-start span { display: grid; gap: 2px; }
.nw-start small { color: var(--mute); font-size: 13px; line-height: 1.4; }
@media (max-width: 820px) { .nw-start ol { grid-template-columns: 1fr; } }

/* ---------- Hero tiles for CV, photos, merch ---------- */
.nw-mini-cv { display: flex; gap: 10px; align-items: center; padding: 8px 0 2px; }
.nw-mini-cv > i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(160deg, #c9bfff, var(--pri)); }
.nw-mini-cv > div { flex: 1; display: grid; gap: 6px; }
.nw-tile.is-cv s:first-of-type { background: rgba(91, 61, 245, .35); }
.nw-mini-photo { position: relative; height: 96px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #ffb38a, #ffd9a8); }
.nw-mini-photo .s { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: #fff6d8; inset-block-start: 14px; inset-inline-end: 22px; }
.nw-mini-photo .m1, .nw-mini-photo .m2 { position: absolute; bottom: 0; width: 70%; height: 70%; clip-path: polygon(0 100%, 45% 10%, 100% 100%); }
.nw-mini-photo .m1 { inset-inline-start: -8%; background: #5b3df5; }
.nw-mini-photo .m2 { inset-inline-end: -12%; height: 55%; background: #2a1f6b; }
.nw-mini-shirt { display: grid; place-items: center; }
.nw-mini-shirt .nw-i { stroke-width: 1.4; }

/* ---------- Store logo shortcut ---------- */
.nw-logo-edit { position: relative; display: inline-block; flex: none; }
.nw-logo-edit .nw-av { border-radius: 16px; object-fit: cover; }
.nw-logo-edit i { position: absolute; inset-block-end: -4px; inset-inline-end: -4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; box-shadow: 0 0 0 3px var(--bg); }
.nw-logo-field { scroll-margin-top: 100px; }
img.nw-av { object-fit: cover; border-radius: 12px; }

/* ---------- Merch hero art ---------- */
.nw-mini-tee { position: relative; display: grid; place-items: center; height: 150px; color: #fff; }
.nw-mini-tee .nw-solid { position: absolute; width: 150px; height: 150px; }
.nw-mini-tee b { position: relative; margin-top: 28px; font: 900 18px/1.05 var(--head); color: var(--acc); text-align: center; letter-spacing: .02em; }
.nw-tile.t2.is-tshirts { background: #2a2342; }
.nw-mini-mug { display: grid; place-items: center; height: 120px; }
.nw-mini-mug i { position: relative; width: 120px; height: 100px; border-radius: 10px 10px 22px 22px; background: #fff; box-shadow: inset 0 -10px 0 rgba(0,0,0,.05); display: grid; place-items: center; font-style: normal; }
.nw-mini-mug i::after { content: ""; position: absolute; inset-inline-end: -26px; top: 22px; width: 30px; height: 44px; border: 9px solid #fff; border-inline-start: 0; border-radius: 0 20px 20px 0; }
.nw-mini-mug b { font: 900 16px/1.05 var(--head); color: var(--pri); text-align: center; }
.nw-mini-stk { position: relative; height: 110px; }
.nw-mini-stk i { position: absolute; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 36px; border: 5px solid #fff; box-shadow: 0 8px 16px rgba(22,20,31,.15); }
.nw-mini-stk .a { background: var(--acc); left: 6px; top: 10px; transform: rotate(-12deg); }
.nw-mini-stk .b { background: #ffb38a; left: 70px; top: 30px; }
.nw-mini-stk .c { background: var(--pri); color: #fff; left: 134px; top: 4px; transform: rotate(10deg); }
.nw-mini-tote { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-top: 18px; border-radius: 6px 6px 14px 14px; background: #fffbea; }
.nw-mini-tote i { position: absolute; top: -22px; width: 44px; height: 34px; border: 6px solid #fffbea; border-bottom: 0; border-radius: 22px 22px 0 0; }
.nw-mini-tote b { font: 900 14px/1.05 var(--head); color: #2a2342; text-align: center; }
.nw-stack .nw-tile.t5 { inset-block-start: 392px; inset-inline-end: auto; inset-inline-start: 0; }

/* ---------- Licences ---------- */
.nw-qty { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line2); }
.nw-qty-h { display: grid; }
.nw-qty-h small { color: var(--mute); font-size: 12.5px; line-height: 1.35; }
.nw-qty-c { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.nw-qty-c button { width: 42px; height: 44px; border: 0; background: none; font-size: 22px; font-weight: 700; color: var(--ink); cursor: pointer; }
.nw-qty-c input { width: 54px; height: 44px; border: 0; text-align: center; font: 800 18px var(--head); background: none; color: var(--ink); -moz-appearance: textfield; }
.nw-qty-c input::-webkit-outer-spin-button, .nw-qty-c input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nw-qty-t { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--mute); font-weight: 650; }
.nw-qty-t b { color: var(--ink); font: 800 20px var(--head); direction: ltr; }
.nw-multi-opt { align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--pri-soft); }
.nw-multi-opt span { display: grid; gap: 2px; }
.nw-multi-opt small { color: var(--mute); font-weight: 500; }
.nw-today b { color: var(--good) !important; }

/* ---------- Dark / light ---------- */
.nw-themebtn .is-sun { display: none; }
html[data-theme="dark"] .nw-themebtn .is-sun { display: block; }
html[data-theme="dark"] .nw-themebtn .is-moon { display: none; }
.nw-themerow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; border-radius: 12px; }
.nw-themerow span { flex: 1; text-align: start; }
.nw-sw { position: relative; width: 42px; height: 24px; border-radius: 99px; background: var(--line); transition: background .2s; }
.nw-sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
html[data-theme="dark"] .nw-sw { background: var(--pri); }
html[data-theme="dark"] .nw-sw::after { transform: translateX(18px); }
html[dir="rtl"][data-theme="dark"] .nw-sw::after { transform: translateX(-18px); }

html[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0f0e17; --card: #1a1826; --dark: #2d2748; --paper: #24212f; --ink: #f3f1fa; --ink2: #d9d5e6; --mute: #a39fb4;
	--line: #312d42; --line2: #26233a; --pri: #7a5cff; --pri-d: #b8a8ff; --pri-soft: #2a2350;
	--sun: #3b3320; --lilac: #2c2652; --sky: #1d3049; --rose: #44232f; --mint: #183a2d; --peach: #41291c;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7);
}
html[data-theme="dark"] .nw-head { background: rgba(15, 14, 23, .86); }
html[data-theme="dark"] .nw-tabbar { background: rgba(20, 18, 30, .94); }
html[data-theme="dark"] .nw-stickybuy:not([hidden]) { background: rgba(26, 24, 38, .97); }
html[data-theme="dark"] .nw-gal-btn { background: rgba(26, 24, 38, .9); color: var(--ink); }
html[data-theme="dark"] .nw-review-form textarea, html[data-theme="dark"] .nw-intent label > span, html[data-theme="dark"] .nw-packs span, html[data-theme="dark"] .nw-amounts span { background: var(--card); color: var(--ink); }
html[data-theme="dark"] .nw-pill.is-good, html[data-theme="dark"] .nw-incl li span { background: #183a2d; color: #6fe0a8; }
html[data-theme="dark"] .nw-hotpill, html[data-theme="dark"] .nw-pill.is-warn { background: #3b2f14; color: #ffc861; }
html[data-theme="dark"] .nw-notice.is-error, html[data-theme="dark"] .nw-pill.is-bad, html[data-theme="dark"] .nw-todo li.is-hot { background: #44201a; color: #ffb4a3; }
html[data-theme="dark"] .nw-ainote { background: linear-gradient(90deg, #2a2350, #1f3320); color: #d8cdff; }
html[data-theme="dark"] .nw-btn.is-line, html[data-theme="dark"] .nw-btn.is-ghost { color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .nw-foot { background: #08070d; }
html[data-theme="dark"] .nw-ph-file { background: #2a2738; }
html[data-theme="dark"] img.nw-av, html[data-theme="dark"] .nw-gal img { background: #fff; }
html[data-theme="dark"] .nw-revbars em { background: #f5b13d; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { color: var(--ink); }
html[data-theme="dark"] .nw-form input[type=text], html[data-theme="dark"] .nw-form input[type=email], html[data-theme="dark"] .nw-form input[type=password], html[data-theme="dark"] .nw-form input[type=url], html[data-theme="dark"] .nw-form input[type=number], html[data-theme="dark"] .nw-form select, html[data-theme="dark"] .nw-form textarea { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .nw-tile.t1 { background: linear-gradient(160deg, #fff, #fff1c2); color: #16141f; }
html[data-theme="dark"] .nw-tile.t3 { background: linear-gradient(160deg, #fff, #ebe5ff); color: #16141f; }
html[data-theme="dark"] .nw-tile { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] span.nw-av { color: #fff; }

/* ==========================================================================
   5.13 — Seller area (separate from the shopping site, like Etsy)
   ========================================================================== */
.nw-btn.is-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.nw-btn.is-dark:hover { filter: brightness(1.15); }
.nw-btn.is-dark .nw-i { color: var(--acc); }
.nw-head.is-hub, html[data-theme="dark"] .nw-head.is-hub { background: #16141f; border-bottom-color: #2b2836; color: #fff; }
.nw-head.is-hub .nw-brand { color: #fff; gap: 10px; }
.nw-hubtag { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-size: 13px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.nw-head.is-hub .nw-links a { color: #d9d5e6; }
.nw-head.is-hub .nw-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nw-head.is-hub .nw-ic, .nw-head.is-hub .nw-login, .nw-head.is-hub .nw-lang > button, .nw-head.is-hub .nw-lang summary { color: #fff; }
.nw-head.is-hub .nw-ic:hover { background: rgba(255, 255, 255, .1); }
.nw-head.is-hub .nw-badge { box-shadow: 0 0 0 2px #16141f; }
.nw-hub-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-weight: 650; font-size: 14px; white-space: nowrap; }
.nw-hub-back:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 760px) { .nw-hub-back span { display: none; } .nw-hub-back { padding: 8px; border: 0; } }
.nw-hub .nw-dash-nav a.is-on { background: var(--pri); }
.nw-hub .nw-dash-nav a.is-on .nw-i { color: #fff; }
.nw-tabbar.is-hub a.is-on { color: var(--pri); }

/* Buyer account: card that leads to the shop or to the seller landing page. */
.nw-hubcard { display: flex; align-items: center; gap: 16px; }
.nw-hubcard > i { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri-d); }
.nw-hubcard.is-seller > i { background: var(--dark); color: var(--acc); }
.nw-hubcard > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nw-hubcard small { color: var(--mute); }
@media (max-width: 560px) { .nw-hubcard { flex-wrap: wrap; } .nw-hubcard .nw-btn { width: 100%; justify-content: center; } }

/* Landing page */
.nw-sellhero .nw-hero-text h1 { max-width: 15ch; }
.nw-sellhero .nw-row { margin-top: 22px; flex-wrap: wrap; }
.nw-sellhero-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--good); font-weight: 650; }
.nw-sec-h.is-center { justify-content: center; text-align: center; }
.nw-hubsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: hs; }
.nw-hubsteps li { counter-increment: hs; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 22px 22px; display: grid; gap: 8px; align-content: start; }
.nw-hubsteps li::before { content: counter(hs); position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); font-weight: 800; display: grid; place-items: center; }
.nw-hubsteps i { width: 54px; height: 54px; border-radius: 16px; background: var(--pri-soft); color: var(--pri-d); display: grid; place-items: center; }
.nw-hubsteps b { font-size: 19px; margin-top: 6px; }
.nw-hubsteps p { margin: 0; color: var(--mute); }
@media (max-width: 760px) { .nw-hubsteps { grid-template-columns: 1fr; } }
.nw-hubwhat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nw-hubwhat > div { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.nw-hubwhat .nw-h2 { font-size: 22px; }
.nw-chips.is-files span { padding: 7px 14px; border-radius: 10px; background: var(--dark); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 760px) { .nw-hubwhat { grid-template-columns: 1fr; } }
.nw-cta-plans.is-light .nw-miniplan { background: var(--card); border-color: var(--line); color: var(--ink); }
.nw-cta-plans.is-light .nw-miniplan span { color: var(--mute); }
.nw-cta-plans.is-light .nw-miniplan.is-hot { background: var(--dark); border-color: var(--dark); color: #fff; }
.nw-cta-plans.is-light .nw-miniplan.is-hot span { color: #d9d5e6; }
.nw-hub .nw-faq { max-width: 820px; margin: 0 auto; }
.nw-hubfinal { grid-template-columns: 1fr; text-align: center; }
.nw-hubfinal .nw-row { justify-content: center; }
.nw-link.is-light { color: var(--acc); margin-top: 12px; }

/* ==========================================================================
   5.13.1 — Side drawer, bottom bar without "Sell", seller page polish
   ========================================================================== */
@media (max-width: 900px) {
	.nw-tabbar { grid-template-columns: repeat(4, 1fr); }
	.nw-tabbar.is-hub { grid-template-columns: repeat(5, 1fr); }
}

/* Drawer */
.nw-drawer { gap: 16px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.nw-drawer-me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nw-drawer-me > i { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--pri-soft); color: var(--pri-d); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 18px; }
.nw-drawer-me > span { flex: 1; min-width: 0; display: grid; }
.nw-drawer-me b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-drawer-me small { color: var(--mute); font-size: 13px; }
.nw-drawer-me em { font-style: normal; font-weight: 800; font-size: 14px; padding: 5px 10px; border-radius: 999px; background: var(--dark); color: var(--acc); }
.nw-drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nw-drawer-auth .nw-btn { justify-content: center; }
.nw-drawer-nav h3 { margin: 0 0 4px; padding: 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.nw-drawer-nav a { padding: 11px 12px; }
.nw-drawer-nav a.is-on { background: var(--pri-soft); color: var(--pri-d); }
.nw-drawer-nav .nw-count { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.nw-drawer-nav.is-small a { font-weight: 600; color: var(--mute); }
.nw-drawer-sell { display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, var(--pri), #3a22c9); color: #fff; text-decoration: none; box-shadow: 0 14px 30px -14px var(--pri); }
.nw-drawer-sell.is-seller { background: var(--dark); box-shadow: none; }
.nw-drawer-sell-h { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.nw-drawer-sell-h > i { flex: none; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .14); color: var(--acc); display: grid; place-items: center; }
.nw-drawer-sell-h > span { display: grid; gap: 1px; min-width: 0; }
.nw-drawer-sell-h small { color: rgba(255, 255, 255, .75); font-size: 13px; line-height: 1.4; }
.nw-drawer-sell-go { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-weight: 800; font-size: 14px; }
[dir="rtl"] .nw-drawer-sell-go .nw-i { transform: scaleX(-1); }
.nw-drawer-sell-l { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nw-drawer-sell-l a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 650; }
.nw-drawer-sell-l a .nw-i { color: var(--acc); flex: none; }
.nw-drawer-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.nw-drawer-foot .nw-drawer-out { margin: 0; padding: 8px 12px; }

/* Seller page: today's sales, example, mobile steps, sticky bar */
.nw-hubtoday { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 650; }
.nw-hubtoday b { font-family: var(--head); font-size: 20px; color: var(--good); }
.nw-live { width: 10px; height: 10px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: nwLive 1.8s infinite; }
@keyframes nwLive { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .nw-live { animation: none; } }
.nw-hubex { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; padding: 28px; border-radius: 28px; background: var(--dark); color: #fff; }
.nw-hubex .nw-h2 { color: #fff; }
.nw-hubex .nw-small { color: #c9c5d8; }
.nw-hubex-calc { margin: 0; display: grid; gap: 2px; background: rgba(255, 255, 255, .06); border-radius: 20px; padding: 8px 18px; }
.nw-hubex-calc > div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); }
.nw-hubex-calc > div:last-child { border: 0; }
.nw-hubex-calc dt { color: #c9c5d8; }
.nw-hubex-calc dd { margin: 0; font-weight: 800; }
.nw-hubex-calc .is-you dt { color: #fff; font-weight: 800; }
.nw-hubex-calc .is-you dd { color: var(--acc); font-family: var(--head); font-size: 26px; }
@media (max-width: 760px) {
	.nw-hubex { grid-template-columns: 1fr; padding: 20px; }
	.nw-sellhero .nw-hero-in { padding-block: 28px 8px; }
	.nw-sellhero .nw-hero-text h1 { font-size: clamp(32px, 9vw, 42px); }
	.nw-sellhero .nw-row .nw-btn { flex: 1; justify-content: center; }
	.nw-hubsteps { gap: 0; position: relative; }
	.nw-hubsteps li { grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 2px; padding: 0 0 22px; background: none; border: 0; border-radius: 0; }
	.nw-hubsteps li::before { display: none; }
	.nw-hubsteps li::after { content: ""; position: absolute; inset-inline-start: 23px; top: 52px; bottom: 0; width: 2px; background: var(--line); }
	.nw-hubsteps li:last-child::after { display: none; }
	.nw-hubsteps i { grid-row: span 2; width: 48px; height: 48px; position: relative; z-index: 1; background: var(--pri); color: #fff; }
	.nw-hubsteps b { margin: 4px 0 0; font-size: 17px; }
	.nw-hubsteps p { font-size: 14.5px; }
	.nw-hubwhat > div { padding: 18px; }
}
.nw-sellbar { display: none; }
@media (max-width: 900px) {
	.nw-sellbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #16141f; color: #fff; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35); }
	.nw-sellbar > span { display: grid; line-height: 1.3; }
	.nw-sellbar small { color: #c9c5d8; font-size: 12.5px; }
	.nw-sellbar .nw-btn { flex: none; }
	body:has(.nw-sellbar) { padding-bottom: 76px; }
}

/* ==========================================================================
   5.14.1 — Buyer home page tidy-up, drawer language row
   ========================================================================== */
.nw-hero .nw-hero-stats { margin-top: 18px; }
.nw-sec.is-tight { padding-top: 8px; }
.nw-buyhow { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.nw-buyhow .nw-h2 { margin: 0 0 18px; }
.nw-buyhow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nw-buyhow li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
.nw-buyhow i { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pri-soft); color: var(--pri-d); }
.nw-buyhow b { font-size: 16.5px; margin-top: 2px; }
.nw-buyhow p { margin: 2px 0 0; color: var(--mute); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 760px) {
	.nw-buyhow { padding: 20px; border-radius: 22px; }
	.nw-buyhow ol { grid-template-columns: 1fr; gap: 16px; }
	/* Rows that scroll sideways on phones, edge to edge. */
	.nw-cats.is-row, .nw-sellers.is-row, .nw-grid.is-mrail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 10px; }
	.nw-cats.is-row::-webkit-scrollbar, .nw-sellers.is-row::-webkit-scrollbar, .nw-grid.is-mrail::-webkit-scrollbar { display: none; }
	.nw-cats.is-row > *, .nw-sellers.is-row > *, .nw-grid.is-mrail > * { flex: none; scroll-snap-align: start; }
	.nw-cats.is-row .nw-cat { width: 112px; padding: 12px 10px; text-align: center; justify-items: center; }
	.nw-cats.is-row .nw-cat b { font-size: 13.5px; line-height: 1.3; }
	.nw-sellers.is-row .nw-seller { width: 140px; }
	.nw-grid.is-mrail > * { width: 64%; }
	.nw-sec-h .nw-h2 { font-size: 22px; }
}

/* Drawer: one tidy language row that opens a list. */
.nw-langrow { border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; }
.nw-langrow > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; font-weight: 650; }
.nw-langrow > summary::-webkit-details-marker { display: none; }
.nw-langrow > summary > .nw-i { color: var(--pri); flex: none; }
.nw-langrow-l { flex: 1; }
.nw-langrow-cur { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14px; }
.nw-langrow-cur b { font-weight: 650; color: var(--ink); }
.nw-langrow .nw-chev { flex: none; color: var(--mute); transition: transform .2s; }
.nw-langrow[open] .nw-chev { transform: rotate(180deg); }
.nw-langrow-list { display: grid; border-top: 1px solid var(--line); padding: 6px; }
.nw-langrow-list a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nw-langrow-list a span { flex: 1; }
.nw-langrow-list a:hover { background: var(--pri-soft); }
.nw-langrow-list a.is-on { background: var(--pri-soft); color: var(--pri-d); }
.nw-langrow-list a .nw-i { color: var(--pri); }
.nw-drawer-foot .nw-themerow { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 12px 14px; }
.nw-seller, .nw-cat { position: relative; }

/* 5.15 — seller page fits the phone; tidy seller top bar */
@media (max-width: 900px) {
	.nw-cta-plans.is-light { margin-inline: calc(-1 * max(4vw, 16px)); padding-inline: max(4vw, 16px); }
	.nw-head.is-hub .nw-langmenu { display: none; }
	.nw-head.is-hub .nw-bar { gap: 8px; }
	.nw-head.is-hub .nw-brand { margin-inline-end: auto; }
}
main { overflow-x: clip; }
/* Member ID, username, address */
.nw-idline { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--mute); justify-content: flex-start; }
[dir="rtl"] .nw-idline { justify-content: flex-end; }
.nw-idline b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; letter-spacing: .06em; padding: 3px 9px; border-radius: 8px; background: var(--dark); color: var(--acc); }
.nw-idcard { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; background: var(--dark); color: #fff; }
.nw-idcard span { color: #c9c5d8; font-size: 14px; }
.nw-idcard b { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: .08em; color: var(--acc); }
.nw-idcard .nw-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.nw-btn.is-sm { padding: 6px 14px; font-size: 13px; min-height: 0; }
.nw-at { display: flex; align-items: stretch; }
.nw-at i { display: grid; place-items: center; padding: 0 12px; font-style: normal; font-weight: 700; color: var(--mute); background: var(--paper); border: 1px solid var(--line); border-inline-end: 0; border-radius: 12px 0 0 12px; }
.nw-at input { flex: 1; min-width: 0; border-radius: 0 12px 12px 0 !important; }
.nw-hint { display: block; margin-top: 4px; color: var(--mute); font-size: 12.5px; font-weight: 400; }
.nw-addr { border: 0; padding: 0; margin: 4px 0 0; }
.nw-addr legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.nw-fg.is-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nw-fg .is-wide { grid-column: 1 / -1; }
.nw-profnote { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border-color: #f5c56b; background: #fff8ea; }
html[data-theme="dark"] .nw-profnote { background: #2d2414; border-color: #6b5326; }
.nw-profnote > i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ffe7b8; color: #8a5a00; }
.nw-profnote > span { flex: 1; display: grid; }
.nw-profnote small { color: var(--mute); }
[dir="rtl"] .nw-profnote > .nw-i { transform: scaleX(-1); }
select { max-width: 100%; }
.nw-form label > .nw-at, .nw-fg label > .nw-at { display: flex; align-items: stretch; margin: 0; font-weight: 400; font-size: inherit; }
.nw-form label > .nw-at > i, .nw-fg label > .nw-at > i { flex: none; width: 44px; padding: 0; }
[dir="rtl"] .nw-at i { border-radius: 12px 0 0 12px; border-inline-end: 1px solid var(--line); border-inline-start: 0; }
.nw-at { direction: ltr; }
.nw-at i { border-right: 0 !important; border-left: 1px solid var(--line) !important; border-radius: 12px 0 0 12px !important; }
.nw-at input { border-radius: 0 12px 12px 0 !important; }
html[data-theme="dark"] .nw-at i { background: var(--card); }
