/* NovelNutt Services. Fonts from the theme; colours from NovelNutt. */
.nnsv { --sv-ink: #1E2230; --sv-teal: #2E7562; --sv-mint: #74C2AA; --sv-mist: #E4E7EC; --sv-soft: #F1F3F6; --sv-muted: #6B7080; color: var(--sv-ink); }
.nnsv-main .nnsv { max-width: 1180px; margin: 0 auto; padding: 24px 24px 80px; }
.nnsv *, .nnsv *::before, .nnsv *::after { box-sizing: border-box; }
.nnsv a { color: inherit; }
.nnsv img { max-width: 100%; height: auto; }
.nnsv h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; margin: 0 0 .3em; }
.nnsv h2 { font-size: 1.3rem; margin: 0 0 .7em; }
.nnsv-crumb { font-size: .9rem; color: var(--sv-muted); margin: 0 0 14px; }
.nnsv-section { margin-top: 36px; }
.nnsv-prose { max-width: 42em; line-height: 1.7; }
.nnsv-scroll { overflow-x: auto; }

/* Hero and search */
.nnsv-hero { padding: 26px 28px; background: var(--sv-ink); color: #fff; margin-bottom: 18px; }
.nnsv-hero h1 { color: #fff; }
.nnsv-hero p { margin: 0 0 16px; max-width: 46em; opacity: .85; }
.nnsv-search { display: flex; gap: 8px; max-width: 640px; }
.nnsv-search input { flex: 1; min-height: 48px; padding: 0 14px; border: 0; font: inherit; }
.nnsv-hero .nn-btn { background: var(--sv-mint) !important; border-color: var(--sv-mint) !important; color: var(--sv-ink) !important; }
.nnsv-cats { margin: 0 0 12px; }
.nnsv-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--sv-mist); }
.nnsv-filters label { display: flex; flex-direction: column; font-size: .8rem; color: var(--sv-muted); gap: 4px; }
.nnsv-filters select, .nnsv-filters input { min-height: 38px; padding: 0 8px; border: 1px solid var(--sv-mist); font: inherit; color: var(--sv-ink); background: #fff; }
.nnsv-filters input[type="number"] { width: 110px; }
.nnsv-count { color: var(--sv-muted); font-size: .9rem; margin: 14px 0 8px; }
.nnsv-offer { margin-top: 30px; text-align: center; }
.nnsv-pages { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }

/* Cards */
.nnsv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.nnsv-grid--narrow { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.nnsv-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sv-mist); }
.nnsv-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sv-soft); }
.nnsv-card-img .nnsv-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.nnsv-card:hover .nnsv-cover { transform: scale(1.03); }
.nnsv-cover--empty { display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; color: var(--sv-muted); font-style: italic; }
.nnsv-card-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; flex: 1; }
.nnsv-card-seller { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.nnsv-card-title { font-size: 1rem; line-height: 1.35; margin: 0; }
.nnsv-card-title a { text-decoration: none; }
.nnsv-card-title a:hover { color: var(--sv-teal); }
.nnsv-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--sv-mist); font-size: .9rem; }
.nnsv-from { color: var(--sv-muted); font-size: .82rem; }
.nnsv-from strong { color: var(--sv-ink); font-size: 1rem; }
.nnsv-rating { font-weight: 700; font-size: .9rem; }
.nnsv-rating span { color: #C99A1D; }
.nnsv-rating small { color: var(--sv-muted); font-weight: 400; }
.nnsv-rating--new { font-weight: 600; color: var(--sv-teal); font-size: .8rem; text-transform: none; }

/* Avatars */
.nnsv-avatar { border-radius: 50%; object-fit: cover; display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.nnsv-avatar--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--sv-soft); color: var(--sv-teal); font-weight: 700; }

/* Gig page */
.nnsv-gig-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.nnsv-seller-line { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: 10px; }
.nnsv-gallery { margin-top: 18px; }
.nnsv-gallery-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--sv-soft); }
.nnsv-gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; }
.nnsv-gallery-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; width: 84px; }
.nnsv-gallery-thumbs button:hover, .nnsv-gallery-thumbs button:focus-visible { border-color: var(--sv-teal); }
.nnsv-gallery-thumbs img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nnsv-compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--sv-mist); }
.nnsv-compare th, .nnsv-compare td { padding: 10px 12px; border-bottom: 1px solid var(--sv-mist); text-align: center; font-size: .92rem; }
.nnsv-compare tbody th { text-align: left; font-weight: 400; color: var(--sv-muted); }
.nnsv-compare thead th { background: var(--sv-soft); vertical-align: top; }
.nnsv-compare thead th span { display: block; font-size: .78rem; color: var(--sv-muted); font-weight: 600; }
.nnsv-compare thead th strong { display: block; font-size: 1.2rem; }
.nnsv-compare thead th small { display: block; font-weight: 400; color: var(--sv-muted); }
.nnsv-yes { color: var(--sv-teal); font-weight: 700; }
.nnsv-no { color: var(--sv-mist); }
.nnsv-extras { list-style: none; margin: 0; padding: 0; }
.nnsv-extras li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sv-mist); }
.nnsv-faq { border-bottom: 1px solid var(--sv-mist); padding: 10px 0; }
.nnsv-faq summary { cursor: pointer; font-weight: 600; }
.nnsv-gig-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.nnsv-order-box, .nnsv-seller-card { background: #fff; border: 1px solid var(--sv-mist); padding: 18px; }
.nnsv-order-box { border-top: 3px solid var(--sv-teal); }
.nnsv-order-box h2 { font-size: 1.1rem; }
.nnsv-order-box .nn-btn { width: 100%; text-align: center; margin: 6px 0; }
.nnsv-pack-list { list-style: none; margin: 0 0 12px; padding: 0; }
.nnsv-pack-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sv-mist); }
.nnsv-pack-list small { display: block; color: var(--sv-muted); font-size: .8rem; }
.nnsv-seller-card { text-align: center; }
.nnsv-seller-card h3 { margin: 8px 0 4px; }
.nnsv-seller-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; text-align: left; font-size: .88rem; margin: 12px 0; }
.nnsv-seller-card dt { color: var(--sv-muted); }
.nnsv-seller-card dd { margin: 0; text-align: right; }
.nnsv-report { margin-top: 30px; font-size: .85rem; color: var(--sv-muted); }
.nnsv-report summary { cursor: pointer; }
.nnsv-report form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Profile page */
.nnsv-profile-head { display: flex; gap: 24px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--sv-mist); border-left: 4px solid var(--sv-teal); }
.nnsv-meta { color: var(--sv-muted); margin: 6px 0; }
.nnsv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.nnsv-tag { padding: 3px 10px; font-size: .8rem; background: var(--sv-soft); border-radius: 999px; }
.nnsv-tag--genre { background: #E3F1EC; color: var(--sv-teal); }
.nnsv-portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.nnsv-portfolio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.nnsv-links { margin: 12px 0 0; padding-left: 1.2em; }

/* My Account */
.nnsv-checklist ul { list-style: none; padding: 0; margin: 0 0 8px; }
.nnsv-checklist li { padding: 4px 0; color: var(--sv-muted); }
.nnsv-checklist li.is-done { color: var(--sv-teal); font-weight: 600; }
.nnsv-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.nnsv-thumb { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; width: 96px; }
.nnsv-thumb img { width: 96px; height: 72px; object-fit: cover; }
.nnsv-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.nnsv-package { padding: 12px; border: 1px solid var(--sv-mist); background: var(--sv-soft); }
.nnsv-gig-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.nnsv-gig-row-img img, .nnsv-gig-row-img .nnsv-cover { width: 110px; height: 70px; object-fit: cover; display: flex; }
.nnsv-saved-payout { padding: 8px 12px; background: var(--sv-soft); }

@media (max-width: 900px) {
	.nnsv-gig-layout { grid-template-columns: 1fr; }
	.nnsv-gig-side { position: static; }
}
@media (max-width: 600px) {
	.nnsv-main .nnsv { padding: 16px 14px 60px; }
	.nnsv-hero { padding: 20px 16px; }
	.nnsv-search { flex-direction: column; }
	.nnsv-profile-head { flex-direction: column; text-align: center; }
	.nnsv-grid { grid-template-columns: 1fr; }
}

/* Genre chips */
.nnsv-chips { border: 0; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nnsv-chips legend { width: 100%; margin-bottom: 8px; }
.nnsv-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.nnsv-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nnsv-chip span { display: inline-block; white-space: nowrap; padding: 7px 14px; border: 1px solid var(--sv-mist, #E4E7EC); border-radius: 999px; background: #fff; font-size: .9rem; line-height: 1.2; letter-spacing: normal; text-transform: none; transition: background .15s ease, border-color .15s ease; }
.nnsv-chip span::before { content: "+ "; color: var(--sv-muted, #6B7080); }
.nnsv-chip:hover span { border-color: var(--sv-teal, #2E7562); }
.nnsv-chip input:checked + span { background: var(--sv-teal, #2E7562); border-color: var(--sv-teal, #2E7562); color: #fff; }
.nnsv-chip input:checked + span::before { content: "✓ "; color: #fff; }
.nnsv-chip input:focus-visible + span { outline: 2px solid var(--sv-ink, #1E2230); outline-offset: 2px; }
/* Keep the theme's uppercase form-label styling off the chips */
.nnsv .nnsv-chip, .nnsv-chips .nnsv-chip, .nn-arc .nnsv-chip { text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important; font-size: inherit; padding: 0 !important; }
.nnsv-chips .nnsv-chip input[type="checkbox"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; -webkit-appearance: none; appearance: none; }

.nnsv-find { margin: 18px 0 0; font-size: .92rem; }
.nnsv-find a { color: var(--nn-accent, #2E7562); font-weight: 600; text-decoration: none; }
.nnsv-find a:hover { text-decoration: underline; }
