/* Nexvoryn Social: the business page (release 4). A landing page for one person's business: cover, identity,
   icon shortcuts, then Home / Shop / Posts / Reviews / About. Flat colours only, tokens come from nx-theme.css. */

/* ---------- the page uses the whole width: no side rail, no side column ---------- */
.nxs.nxs--wide .nxs-shell { display: block; max-width: 1120px; margin: 0 auto; }
.nxs.nxs--wide .nxs-rail, .nxs.nxs--wide .nxs-side { display: none; }
.bp { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bp > * { animation: nx-rise .5s var(--nx-ease) backwards; }
.bp > :nth-child(2) { animation-delay: .05s; } .bp > :nth-child(n+3) { animation-delay: .1s; }
.bp .nxs-card { border-radius: 18px; }
.bp .nxs-ic { flex: none; }

/* ---------- hero ---------- */
.bp-hero { overflow: hidden; }
.bp-cover { position: relative; aspect-ratio: 5 / 2; max-height: 320px; width: 100%; background: #0F1B33; overflow: hidden; }
.bp-cover img { width: 100%; height: 100%; object-fit: cover; animation: bp-settle 1.1s var(--nx-ease) backwards; }
@keyframes bp-settle { from { transform: scale(1.06); } }
.bp-cover-mark { position: absolute; right: 4%; bottom: -.22em; font: 700 clamp(96px, 24vw, 230px)/1 var(--nx-display); letter-spacing: -.06em; color: rgba(52, 211, 153, .16); user-select: none; }
.bp-id { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; padding: 0 16px 14px; }
.bp-logo { grid-row: 1; width: 84px; height: 84px; margin-top: -42px; display: grid; place-items: center; overflow: hidden; border-radius: 22px; background: #0F1B33; color: #fff; font: 700 28px/1 var(--nx-display); box-shadow: 0 0 0 4px var(--surface); position: relative; z-index: 1; animation: nx-pop .6s var(--nx-ease) .15s backwards; }
.bp-logo img { width: 100%; height: 100%; object-fit: cover; }
.bp-name { grid-column: 1 / -1; margin-top: 12px; min-width: 0; }
.bp-name h1 { font-size: 24px; overflow-wrap: anywhere; } .bp-name h1 .nxs-verified { width: 21px; height: 21px; }
.bp-handle { margin-top: 3px; color: var(--s-ink3); font-size: 13.5px; }
.bp-tagline { margin-top: 8px; color: var(--s-ink2); font-size: 15px; max-width: 60ch; }
.bp-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 16px; color: var(--s-ink2); font-size: 13.5px; }
.bp-facts li { display: inline-flex; align-items: center; gap: 6px; } .bp-facts b { color: var(--s-ink); font-weight: 700; }
.bp-facts .nxs-ic { width: 16px; height: 16px; color: var(--s-ink3); }
.bp-facts .bp-fact--star .nxs-ic { color: var(--star, #F59E0B); fill: currentColor; }
.bp-cta { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.bp-cta .nxs-follow, .bp-cta .nxs-btn--chat { display: none; }
.bp-cta .nxs-iconbtn { width: 40px; height: 40px; border-radius: 12px; }

.bp-quick { display: flex; gap: 2px; padding: 10px 10px 12px; border-top: 1px solid var(--s-line); overflow-x: auto; scrollbar-width: none; }
.bp-quick::-webkit-scrollbar { display: none; }
.nxs .bp-q { flex: 0 0 auto; min-width: 68px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 6px; border: 0; background: none; color: var(--s-ink2); font: 600 12px/1.2 var(--aq-font, Inter, sans-serif); }
.bp-q span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; background: var(--surface-sunken); color: var(--s-ink); transition: background-color .2s, color .2s, transform .25s var(--nx-ease); }
.bp-q span .nxs-ic { width: 21px; height: 21px; }
.bp-q:hover span { background: var(--accent-soft); color: var(--accent-text); } .bp-q:active span { transform: scale(.92); }
.nxs .bp-q--main span { background: #08805F; color: #fff; } .bp-q--main:hover span { background: #066B50; color: #fff; }
.nxs .bp-q--main { color: var(--accent-text); }

/* ---------- tabs with icons ---------- */
.nxs .bp-tabs .nxs-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.bp-tabs .nxs-tab .nxs-ic { width: 17px; height: 17px; }
.bp-tabs .nxs-tab span { margin-left: 0; }

/* ---------- Home ---------- */
.bp-cols { display: grid; gap: 22px; }
.bp-main { display: grid; gap: 26px; min-width: 0; align-content: start; }
.bp-aside { display: grid; gap: 14px; align-content: start; min-width: 0; }
.bp-sec { min-width: 0; }
.bp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bp-sec-head h2 { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; }
.bp-sec-head h2 .nxs-ic { width: 20px; height: 20px; color: var(--accent-text); }
.nxs .bp-sec-head a { display: inline-flex; align-items: center; gap: 2px; color: var(--accent-text); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.bp-sec-head a .nxs-ic { width: 16px; height: 16px; transition: transform .25s var(--nx-ease); } .bp-sec-head a:hover .nxs-ic { transform: translateX(3px); }

.bp-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-marks li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--accent-softer, #EEF9F5); color: var(--accent-text); font-weight: 600; font-size: 13.5px; }
.bp-marks .nxs-ic { width: 16px; height: 16px; stroke-width: 2.2; }

/* product cards */
.bp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp-grid--row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: none; }
.bp-grid--row::-webkit-scrollbar { display: none; } .bp-grid--row > * { scroll-snap-align: start; }
.bp-prod { display: flex; flex-direction: column; overflow: hidden; min-width: 0; transition: transform .3s var(--nx-ease), box-shadow .3s; }
.nxs .bp-prod-pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; padding: 0; border: 0; background: var(--surface-sunken); color: var(--s-ink3); overflow: hidden; }
.bp-prod-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--nx-ease); }
.bp-prod-pic > .nxs-ic { width: 32px; height: 32px; }
.bp-badge { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: #FBBF24; color: #3A2500; font: 700 11.5px/1.2 var(--aq-font, sans-serif); }
.bp-badge .nxs-ic { width: 12px; height: 12px; fill: currentColor; } .bp-badge--out { background: rgba(15, 27, 51, .82); color: #fff; }
.bp-prod.is-out .bp-prod-pic img { filter: grayscale(.7); opacity: .7; }
.bp-prod-txt { padding: 10px 12px 0; min-width: 0; }
.bp-prod-cat { color: var(--s-ink3); font-size: 11.5px; font-weight: 600; }
.bp-prod h3 { margin-top: 2px; font-size: 14.5px; line-height: 1.3; letter-spacing: -.01em; }
.nxs .bp-prod h3 button { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--s-ink); text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-prod-price { margin-top: 5px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.bp-prod-price b { font: 700 15.5px/1.2 var(--nx-display); color: var(--accent-text); } .bp-prod-price s { color: var(--s-ink3); font-size: 12.5px; }
.bp-prod-acts { display: flex; gap: 6px; padding: 10px 12px 12px; margin-top: auto; }
.nxs .bp-prod-acts .nxs-btn { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 0 10px; font-size: 13.5px; border-radius: 12px; box-shadow: none; }
.bp-prod-acts .nxs-btn .nxs-ic { width: 16px; height: 16px; }
.bp-prod-acts .nxs-iconbtn { flex: none; width: 38px; height: 38px; border-radius: 12px; } .bp-prod-acts .nxs-iconbtn .nxs-ic { width: 18px; height: 18px; }
@media (hover: hover) { .bp-prod:hover { transform: translateY(-3px); } .bp-prod:hover .bp-prod-pic img { transform: scale(1.05); } }

/* latest posts as a compact list */
.bp-news { list-style: none; margin: 0; padding: 4px 0; overflow: hidden; }
.bp-news li + li { border-top: 1px solid var(--s-line); }
.nxs .bp-news a { display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px 14px; transition: background-color .2s; }
.bp-news a:hover { background: color-mix(in srgb, var(--s-ink) 4%, transparent); }
.bp-news-pic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; background: var(--surface-sunken); color: var(--s-ink3); }
.bp-news-pic img { width: 100%; height: 100%; object-fit: cover; }
.bp-news-txt { min-width: 0; display: grid; gap: 4px; }
.bp-news-txt b { font-weight: 500; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-news-txt small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--s-ink3); font-size: 12.5px; }
.bp-news-txt small span { display: inline-flex; align-items: center; gap: 4px; } .bp-news-txt small .nxs-ic { width: 14px; height: 14px; }
.bp-news-txt i { font-style: normal; font-weight: 700; color: var(--secondary-text, #92400E); }
.bp-news a > .nxs-ic { width: 18px; height: 18px; color: var(--s-ink3); }

/* what customers say */
.bp-said { display: grid; gap: 12px; }
.bp-score { padding: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.bp-score b { font: 700 44px/1 var(--nx-display); letter-spacing: -.04em; } .bp-score small { color: var(--s-ink2); font-size: 13px; }
.bp-quote { margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bp-quote blockquote { margin: 0; font-size: 14.5px; line-height: 1.5; }
.bp-quote figcaption { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--s-ink2); font-weight: 600; font-size: 13px; }

.bp-empty { padding: 20px; display: flex; align-items: center; gap: 12px; color: var(--s-ink2); font-size: 14.5px; }
.bp-empty > .nxs-ic { width: 22px; height: 22px; color: var(--s-ink3); } .nxs .bp-empty a { color: var(--accent-text); font-weight: 600; }

/* the person behind the page */
.bp-host { padding: 18px; display: grid; gap: 14px; }
.bp-host-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bp-host-av { width: 52px; height: 52px; font-size: 17px; }
.bp-host-who b { display: block; font: 600 16px/1.25 var(--nx-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.bp-host-who div span { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 2px; color: var(--s-ink2); font-size: 13.5px; }
.bp-host-who i { font-style: normal; display: inline-flex; align-items: center; gap: 3px; color: var(--s-ink); font-weight: 600; }
.bp-host-who i .nxs-ic { width: 14px; height: 14px; color: var(--star, #F59E0B); fill: currentColor; }
.bp-host .nxs-btn--chat { width: 100%; }
.bp-lock { display: flex; gap: 9px; padding: 10px 12px; border-radius: 12px; background: var(--accent-softer, #EEF9F5); color: var(--s-ink2); font-size: 12.5px; line-height: 1.45; }
.bp-lock .nxs-ic { width: 16px; height: 16px; margin-top: 1px; color: var(--accent-text); }

.bp-info { padding: 18px; } .bp-info h2 { font-size: 16px; }
.bp-info ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 11px; }
.bp-info li { display: flex; gap: 11px; color: var(--s-ink2); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.bp-info li .nxs-ic { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-text); }
.bp-info li b { display: block; color: var(--warning-text, #92400E); } .bp-info li b.is-open { color: var(--success-text, #06694E); }
.nxs .bp-info li a { color: var(--accent-text); font-weight: 600; }
.nxs .bp-info-more { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--s-line); color: var(--accent-text); font-weight: 600; font-size: 13.5px; }
.bp-info-more .nxs-ic { width: 16px; height: 16px; }

/* ---------- Shop ---------- */
.bp-shopbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bp-find { flex: 1 1 240px; max-width: 380px; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--s-ink3); transition: border-color .2s, box-shadow .2s; }
.bp-find .nxs-ic { width: 18px; height: 18px; }
.nxs .bp-find input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--s-ink); font: inherit; font-size: 16px; }
.bp-find:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.bp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .bp-chips::-webkit-scrollbar { display: none; }
.nxs .bp-chip { flex: none; height: 36px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--s-ink2); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background-color .2s, color .2s; }
.nxs .bp-chip.is-on { background: var(--s-strong); color: var(--s-on-strong); border-color: transparent; }

/* product detail sheet */
.bp-pv { display: grid; gap: 12px; }
.bp-pv-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; max-height: 46vh; border-radius: 16px; overflow: hidden; background: var(--surface-sunken); color: var(--s-ink3); }
.bp-pv-pic img { width: 100%; height: 100%; object-fit: contain; } .bp-pv-pic .nxs-ic { width: 40px; height: 40px; }
.bp-pv-price { display: flex; align-items: baseline; gap: 10px; } .bp-pv-price b { font: 700 22px/1.2 var(--nx-display); color: var(--accent-text); } .bp-pv-price s { color: var(--s-ink3); }
.bp-pv-price:empty, .bp-pv-desc:empty { display: none; }
.bp-pv-desc { color: var(--s-ink2); white-space: pre-line; overflow-wrap: anywhere; }
.bp-pv-acts { display: grid; gap: 8px; } .bp-pv-acts .nxs-btn { width: 100%; }
.bp-pv-host { color: var(--s-ink3); font-size: 12.5px; text-align: center; }

/* ---------- Posts, Reviews, About ---------- */
.bp-narrow { width: 100%; max-width: 680px; margin-inline: auto; }
.bp-about { display: grid; gap: 16px; align-items: start; }
.bp-about .nxs-about h2 { display: inline-flex; align-items: center; gap: 9px; }
.bp-about .nxs-about h2 .nxs-ic { width: 20px; height: 20px; color: var(--accent-text); }
.bp .nxs-social .nxs-btn .nxs-ic { width: 16px; height: 16px; }

/* ---------- wider screens ---------- */
@media (min-width: 700px) {
  .bp-cover { max-height: 300px; }
  .bp-id { padding: 0 22px 18px; gap: 0 18px; }
  .bp-logo { width: 104px; height: 104px; margin-top: -52px; border-radius: 26px; font-size: 34px; }
  .bp-name { grid-column: 2; grid-row: 1; margin-top: 14px; } .bp-name h1 { font-size: 28px; }
  .bp-id { grid-template-columns: auto minmax(0, 1fr) auto; } .bp-cta { grid-column: 3; margin-top: 16px; }
  .bp-quick { padding: 12px 18px 14px; gap: 6px; } .nxs .bp-q { min-width: 76px; font-size: 12.5px; }
  .bp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .bp-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; padding-bottom: 0; }
  .bp-grid--row > :nth-child(n+5) { display: none; }
  .bp-said { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); }
  .bp-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } .bp-about-wide { grid-column: 1 / -1; }
  .nxs .bp-tabs { align-self: flex-start; } .nxs .bp-tabs .nxs-tab { flex: 0 0 auto; padding: 0 18px; }
}
@media (min-width: 1000px) {
  .bp-cover { max-height: 320px; }
  .bp-cta .nxs-follow, .bp-cta .nxs-btn--chat { display: inline-flex; }
  .bp-cols { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 26px; }
  .bp-aside { position: sticky; top: calc(var(--s-top) + 66px); }
  .bp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .bp > *, .bp-cover img, .bp-logo { animation: none; } }

/* three actions on one card: the Order button keeps its word, the icon goes */
.nxs .bp-prod-acts .nxs-btn { overflow: hidden; white-space: nowrap; }
.bp-prod-acts:has(.nxs-iconbtn + .nxs-iconbtn) .nxs-btn .nxs-ic { display: none; }
@media (max-width: 699px) {
  .bp-marks { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--s-pad) * -1); padding-right: var(--s-pad); } .bp-marks::-webkit-scrollbar { display: none; }
  .bp-marks li { flex: none; }
  .bp-prod-acts { gap: 5px; padding: 8px 10px 10px; } .bp-prod-txt { padding: 9px 10px 0; }
}
.nxs .nxs-top-dash--app { display: inline-flex; min-height: 36px; padding: 0 12px; font-size: 13px; }

/* ---------- install / alerts in the top bar, install steps, the note above the messages ---------- */
.nxs .nxs-top-app { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: #08805F; color: #fff; font: 600 13px/1 var(--aq-font, Inter, sans-serif); white-space: nowrap; transition: background-color .2s, transform .2s var(--nx-ease); }
.nxs .nxs-top-app:hover { background: #066B50; } .nxs-top-app:active { transform: scale(.96); }
.nxs-top-app .nxs-ic { width: 16px; height: 16px; stroke-width: 2.2; }
.nxs .nxs-top-app--bell { background: #FBBF24; color: #3A2500; } .nxs .nxs-top-app--bell:hover { background: #F59E0B; }
/* phones: the alert / install button must never push the bar wider than the screen */
@media (max-width: 480px) { .nxs-top:has(.nxs-top-app:not([hidden])) .nxs-top-search { display: none; } .nxs-top:has(.nxs-top-app:not([hidden])) .nxs-brand { min-width: 0; } }
@media (max-width: 380px) { .nxs .nxs-top-app { padding: 0 10px; } .nxs-top:has(.nxs-top-app:not([hidden])) .nxs-word { display: none; } }
.nxs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nxs-steps li { display: grid; grid-template-columns: 26px 22px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--surface-sunken); font-size: 14.5px; line-height: 1.4; }
.nxs-steps li b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #0F1B33; color: #fff; font: 700 13px/1 var(--nx-display); }
.nxs-steps li .nxs-ic { width: 22px; height: 22px; color: var(--accent-text); }
.nxs-chat-note { flex: none; display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 10px 8px 14px; background: #FEF3C7; color: #5B3A06; font-size: 13px; line-height: 1.35; }
.nxs-chat-note .nxs-ic { flex: none; width: 17px; height: 17px; } .nxs-chat-note span { flex: 1 1 auto; min-width: 0; }
.nxs .nxs-chat-note button { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: #0F1B33; color: #fff; font: 600 12.5px/1 var(--aq-font, Inter, sans-serif); }
