/* Public discovery, seller and product presentation shares the NexinApps brand. */
.market-directory { flex: 1; padding-block: 64px 88px; }
.market-directory-heading { max-width: 740px; }
.market-directory-heading h1 { margin: 14px 0 18px; line-height: 1.05; }
.market-directory-heading p { color: #61708a; font-size: 1.12rem; }
.market-search { max-width: 760px; margin-block: 32px; }
.market-search > div { padding: 7px; border: 1px solid #dfe5ef; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(17,29,54,.04); }
.market-search input { max-width: none; border: 0; background: transparent; border-radius: 8px; }
.market-search .store-button { border-radius: 10px; background: #3155d9; border-color: #3155d9; padding-inline: 22px; }
.market-search .store-button-secondary { background: #f5f7fb; color: #111d36; border-color: #dfe5ef; }
.market-directory-tabs { display: flex; gap: 28px; border-bottom: 1px solid #dfe5ef; margin-bottom: 28px; }
.market-directory-tabs a { padding: 12px 2px; text-decoration: none; color: #61708a; font-weight: 800; border-bottom: 3px solid transparent; }
.market-directory-tabs a[aria-current=page] { color: #3155d9; border-color: #3155d9; }
.market-listings { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 24px; }
.market-listing { gap: 14px; border-radius: 22px; padding: 28px; box-shadow: none; transition: box-shadow .2s ease, border-color .2s ease; }
.market-listing:hover { border-color: #bccaf1; box-shadow: 0 18px 44px rgba(17,29,54,.06); }
.market-listing-top { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.market-app-avatar { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; overflow: hidden; border: 1px solid #e0e7f3; border-radius: 18px; background: #eef4ff; color: #3155d9; font-size: 2rem; }
.market-app-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 7px; background: #fff; }
.market-app-avatar img[hidden] { display: none; }
.market-listing h2 a { text-decoration: none; }
.market-listing h2 a:hover { color: #3155d9; text-decoration: underline; }
.market-publisher a { font-weight: 750; text-decoration: none; }
.market-publisher a:hover { text-decoration: underline; }
.market-seller-logo { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
.market-listing .store-card-link { color: #3155d9; margin-top: auto; padding-top: 10px; font-weight: 800; }
.market-summary { min-height: 3.2em; }
.market-official-label { max-width: 100%; }
.market-empty { padding: 40px 24px; text-align: center; border: 1px dashed #cbd5e7; border-radius: 22px; background: #f8faff; }
.market-empty > i { display: block; font-size: 2.6rem; color: #3155d9; }
.market-empty h2 { margin-block: 12px; font-size: 1.5rem; }
.market-empty p { color: #61708a; }
.store-seller-bar { background: #fff; border-top: 3px solid var(--store-accent, #3155d9); border-bottom: 1px solid #dfe5ef; }
.store-seller-bar > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 18px; }
.store-seller-bar .store-brand { gap: 12px; font-size: 1.1rem; }
.store-seller-bar .market-app-avatar { width: 42px; height: 42px; border-radius: 12px; font-size: 1.4rem; }
.store-seller-bar nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .9rem; }
.store-seller-bar nav a { text-decoration: none; font-weight: 750; }
.store-seller-bar nav a:hover { text-decoration: underline; }
.store-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 20px; color: #61708a; font-size: .85rem; }
.store-breadcrumb a { text-underline-offset: 3px; }
.store-hero { background: radial-gradient(circle at 87% 18%, rgba(22,139,221,.12), transparent 40%), radial-gradient(circle at 94% 80%, rgba(118,184,62,.09), transparent 35%), #fafbff; border: 0; }
.store-hero-grid { padding-block: 56px; gap: 56px; }
#store-back { display: block; margin-bottom: 16px; }
.store-hero h1 { margin-top: 14px; font-weight: 800; letter-spacing: -.05em; }
.store-hero .store-publisher-line { font-size: .95rem; margin-top: 18px; }
.store-publisher-line a { font-weight: 800; text-underline-offset: 3px; }
.store-hero-art { min-height: 260px; }
.store-hero-emblem { width: 160px; height: 160px; border-radius: 38px; font-size: 5rem; background: #fff; box-shadow: 0 25px 65px rgba(49,85,217,.12); }
.store-hero-emblem img { padding: 28px; }
.store-actions .store-button { border-radius: 12px; background: #3155d9; border-color: #3155d9; padding: 13px 22px; font-weight: 800; }
.store-actions .store-button-secondary { background: #fff; color: #111d36; border-color: #dfe5ef; }
.store-site .store-card { border-radius: 22px; box-shadow: none; padding: 28px; }
.store-site #public-store-offers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 24px; }
.store-catalog-intro { color: #61708a; max-width: 720px; margin-top: 12px; }
.store-offer-card .store-button { margin-top: 18px; border-radius: 12px; background: #3155d9; border-color: #3155d9; font-weight: 800; }
.store-resource { background: #f5f7fb; border-radius: 12px; }
.store-provider-note { padding-block: 30px; margin-bottom: 24px; border-top: 1px solid #dfe5ef; color: #61708a; font-size: .9rem; }
.store-provider-note a { display: inline-block; margin-top: 10px; text-underline-offset: 3px; }
.market-document { padding-block: 64px 80px; max-width: 900px; min-height: 65vh; }
.market-document h1 { font-size: clamp(2.4rem,5vw,4rem); line-height: 1.1; letter-spacing: -.045em; margin-block: 16px 24px; }
.market-document h2 { font-size: 1.45rem; margin-block: 30px 12px; }
.market-document p, .market-document li { color: #50617d; }
.market-document p + p { margin-top: 14px; }
.market-document ul, .market-document ol { padding-left: 24px; }
.market-document li { margin-block: 10px; }
.market-document a { color: #3155d9; text-underline-offset: 3px; }
.market-document .store-button { color: #fff; margin-block: 20px; }
.market-document-links { display: flex; flex-wrap: wrap; gap: 16px; padding-block: 18px; }
.market-draft { padding: 18px 22px; border: 1px solid #dcc388; border-radius: 14px; background: #fff9e9; margin-block: 24px; color: #66501e; }
.market-document section { scroll-margin-top: 100px; }


@media (max-width: 991.98px) {
    .store-header .market-desktop-nav { display: none; }
    .market-mobile-nav { display: block; }
    .market-mobile-nav summary { list-style: none; padding: 10px; cursor: pointer; }
    .market-mobile-nav summary::-webkit-details-marker { display: none; }
    .market-mobile-nav summary span { display: block; width: 23px; height: 2px; background: #111d36; margin: 5px; }
    .market-mobile-nav nav { position: absolute; top: 76px; inset-inline: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid #dfe5ef; box-shadow: 0 12px 20px rgba(17,29,54,.08); padding: 12px 20px; }
    .market-mobile-nav nav a { padding: 12px; border-radius: 8px; }
}
@media (max-width: 700.98px) {
    .market-directory, .market-document { padding-block: 44px 56px; }
    .market-listing, .store-site .store-card { padding: 24px; }
    .store-hero-grid { grid-template-columns: 1fr !important; gap: 24px; padding-block: 36px; }
    .store-hero-art { min-height: 170px; }
    .store-hero-emblem { width: 120px; height: 120px; border-radius: 28px; font-size: 3.8rem; }
    .store-hero-emblem img { padding: 20px; }
    .store-seller-bar nav { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .market-listing { transition: none; } }
