/* H4XBYT3 STORE — standalone storefront and product-detail system. */
.service-appstore { max-width: 100%; overflow-x: hidden; }
.service-appstore .main-content { max-width: 100%; overflow-x: clip; }
.store-shell {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    margin: 0 auto;
    padding: 28px 20px 72px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    overflow-x: clip;
}
.store-shell * { box-sizing: border-box; }

.store-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    align-items: center;
    gap: 38px;
    min-height: 390px;
    padding: 46px 50px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(168, 85, 247, .3);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, .18), transparent 34%),
        linear-gradient(135deg, rgba(20, 12, 39, .96), rgba(5, 12, 28, .88));
    box-shadow: 0 26px 75px rgba(0, 0, 0, .38), inset 0 1px rgba(255,255,255,.1);
}
.store-hero-copy { min-width: 0; position: relative; z-index: 2; }
.store-kicker {
    color: #c084fc;
    font: 800 11.5px/1.3 var(--font-mono, 'JetBrains Mono', monospace);
    letter-spacing: .14em;
    text-transform: uppercase;
}
.store-hero h1 {
    max-width: 720px;
    margin: 13px 0 15px;
    color: #fff;
    font-size: clamp(38px, 5.3vw, 67px);
    line-height: 1;
    letter-spacing: -.05em;
}
.store-hero p { max-width: 660px; margin: 0; color: #cbd5e1; font-size: 15px; line-height: 1.7; }
.store-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.store-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 660px;
    margin-top: 22px;
    padding: 7px 8px 7px 15px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(2, 6, 23, .68);
    backdrop-filter: blur(12px);
}
.store-search > i { color: #94a3b8; }
.store-search input { width: 100%; min-width: 0; height: 38px; color: #fff; border: 0; outline: 0; background: transparent; font: inherit; }
.store-search input::placeholder { color: #64748b; }

.store-showcase {
    min-width: 0;
    position: relative;
    z-index: 2;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(2, 6, 23, .58);
    box-shadow: 0 22px 50px rgba(0,0,0,.34);
    transform: rotate(1.3deg);
}
.store-showcase-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #94a3b8; font-size: 11px; }
.store-showcase-head span:first-child { color: #fff; font-weight: 750; }
.store-mini-list { display: grid; gap: 9px; }
.store-mini-app { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; background: rgba(148,163,184,.08); }
.store-mini-icon,.store-card-placeholder,.store-product-icon { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#a855f7,#2563eb); }
.store-mini-icon { width: 42px; height: 42px; border-radius: 12px; }
.store-mini-app strong { display: block; min-width: 0; color: #fff; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-mini-app small { display: block; margin-top: 2px; color: #64748b; font-size: 10px; }
.store-mini-app b { color: #34d399; font-size: 10.5px; }
.store-trust-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 16px 0 34px; }
.store-trust-row div { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 16px; color: var(--text-secondary,#94a3b8); font-size: 12px; border: 1px solid rgba(148,163,184,.16); border-radius: 15px; background: rgba(15,23,42,.55); }
.store-trust-row i { color: #a855f7; font-size: 17px; }

.store-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 34px 0 16px; }
.store-section-head h2 { margin: 0; color: var(--text-primary,#fff); font-size: 23px; letter-spacing: -.02em; }
.store-section-head p { margin: 4px 0 0; color: var(--text-tertiary,#64748b); font-size: 12.5px; }
.store-section-head a { color: #c084fc; font-size: 12.5px; text-decoration: none; }
.store-category-rail { display: grid; grid-template-columns: repeat(7, minmax(100px,1fr)); gap: 10px; }
.store-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 16px 14px;
    color: var(--text-secondary,#cbd5e1);
    text-decoration: none;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 16px;
    background: rgba(15,23,42,.56);
    transition: transform .18s ease,border-color .18s ease,background .18s ease;
}
.store-category:hover,.store-category.is-active { transform: translateY(-2px); color: #fff; border-color: rgba(168,85,247,.48); background: rgba(168,85,247,.1); }
.store-category i { display: grid; place-items: center; width: 35px; height: 35px; color: #c084fc; border-radius: 10px; background: rgba(168,85,247,.12); }
.store-category strong { max-width: 100%; font-size: 12px; overflow-wrap: anywhere; }
.store-category small { color: #64748b; font-size: 10px; }

.store-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.store-feature-card,.store-app-card { min-width: 0; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid rgba(148,163,184,.17); background: rgba(15,23,42,.62); box-shadow: inset 0 1px rgba(255,255,255,.06); transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.store-feature-card { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(115px,.85fr); min-height: 190px; border-radius: 20px; }
.store-feature-card:hover,.store-app-card:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.46); box-shadow: 0 18px 38px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.08); }
.store-feature-copy { display: flex; flex-direction: column; min-width: 0; padding: 20px; }
.store-label { color: #c084fc; font: 750 9.5px var(--font-mono,monospace); letter-spacing: .1em; text-transform: uppercase; }
.store-feature-copy h3 { margin: 9px 0 7px; color: #fff; font-size: 18px; overflow-wrap: anywhere; }
.store-feature-copy p { display: -webkit-box; margin: 0; overflow: hidden; color: #94a3b8; font-size: 12px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.store-feature-meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 13px; color: #64748b; font-size: 10.5px; }
.store-feature-media,.store-card-media { min-width: 0; overflow: hidden; background: #111827; }
.store-feature-media img,.store-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.store-feature-media .store-card-placeholder { width: 100%; height: 100%; border-radius: 0; font-size: 34px; }

.store-catalog-bar { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto auto; gap: 10px; margin-bottom: 16px; padding: 11px; border: 1px solid rgba(148,163,184,.16); border-radius: 16px; background: rgba(15,23,42,.5); }
.store-catalog-bar input,.store-catalog-bar select { width: 100%; min-width: 0; height: 40px; }
.store-catalog-bar .store-filter-search { position: relative; min-width: 0; }
.store-filter-search i { position: absolute; top: 50%; left: 13px; color: #64748b; transform: translateY(-50%); pointer-events: none; }
.store-filter-search input { padding-left: 37px; }
.store-app-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.store-app-card { display: flex; flex-direction: column; border-radius: 19px; }
.store-card-media { position: relative; aspect-ratio: 16/10; }
.store-card-media .store-card-placeholder { width: 100%; height: 100%; font-size: 38px; }
.store-card-price { position: absolute; right: 10px; top: 10px; padding: 5px 9px; color: #fff; font-size: 10.5px; font-weight: 800; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(2,6,23,.78); backdrop-filter: blur(8px); }
.store-card-price.is-free { color: #6ee7b7; }
.store-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 15px; }
.store-card-category { color: #a78bfa; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.store-card-body h3 { margin: 7px 0 6px; color: #fff; font-size: 15px; overflow-wrap: anywhere; }
.store-card-body p { display: -webkit-box; min-height: 37px; margin: 0; overflow: hidden; color: #94a3b8; font-size: 11.5px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.store-card-author { margin-top: 11px; color: #64748b; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; color: #94a3b8; font-size: 10.5px; }
.store-card-bottom i { color: #facc15; }
.store-card-downloads i { color: #64748b; }
.store-empty { padding: 65px 20px; text-align: center; color: #94a3b8; border: 1px dashed rgba(148,163,184,.24); border-radius: 20px; background: rgba(15,23,42,.4); }
.store-empty i { display: block; margin-bottom: 15px; color: #a855f7; font-size: 42px; }
.store-empty h2 { margin: 0 0 7px; color: #fff; font-size: 20px; }
.store-empty p { margin: 0 0 17px; }
.store-pagination { display: flex; justify-content: center; margin-top: 28px; }

/* Product detail */
.store-product-shell { width: 100%; max-width: 1220px; min-width: 0; margin: 0 auto; padding: 28px 20px 72px; box-sizing: border-box; position: relative; z-index: 5; overflow-x: clip; }
.store-product-shell * { box-sizing: border-box; }
.store-product-crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #64748b; font-size: 11.5px; }
.store-product-crumbs a { color: #a78bfa; text-decoration: none; }
.store-product-hero { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.store-product-summary,.store-buy-card,.store-panel { min-width: 0; border: 1px solid rgba(148,163,184,.17); background: rgba(15,23,42,.62); box-shadow: inset 0 1px rgba(255,255,255,.06); }
.store-product-summary { display: grid; grid-template-columns: 104px minmax(0,1fr) auto; gap: 20px; align-items: center; margin-bottom: 22px; padding: 25px; border-radius: 22px; }
.store-product-icon { width: 104px; height: 104px; border-radius: 24px; font-size: 36px; box-shadow: 0 18px 34px rgba(37,99,235,.2); }
.store-product-copy { min-width: 0; }
.store-product-copy h1 { margin: 7px 0 8px; color: #fff; font-size: clamp(27px,4vw,40px); line-height: 1.07; letter-spacing: -.035em; overflow-wrap: anywhere; }
.store-product-copy p { margin: 0; color: #94a3b8; font-size: 13px; line-height: 1.6; }
.store-product-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 13px; color: #64748b; font-size: 11px; }
.store-product-meta i { margin-right: 4px; color: #a78bfa; }
.store-product-meta a { color: #c084fc; text-decoration: none; }
.store-product-edit { align-self: start; }
.store-buy-card { align-self: start; padding: 21px; border-radius: 22px; position: sticky; top: 78px; }
.store-buy-price { margin-bottom: 14px; color: #fff; font-size: 28px; font-weight: 850; letter-spacing: -.03em; }
.store-buy-card .btn { width: 100%; justify-content: center; }
.store-buy-card .btn + .btn { margin-top: 8px; }
.store-buy-facts { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(148,163,184,.14); color: #94a3b8; font-size: 11px; }
.store-buy-facts span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.store-buy-facts i { color: #a78bfa; }
.store-product-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; align-items: start; }
.store-product-main { min-width: 0; }
.store-panel { padding: 22px; border-radius: 20px; margin-bottom: 20px; }
.store-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; color: #fff; font-size: 17px; }
.store-panel-title i { color: #a855f7; }
.store-product-shots { display: flex; gap: 12px; max-width: 100%; margin-bottom: 20px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.store-product-shots img { height: 285px; max-width: min(82vw,520px); flex: 0 0 auto; object-fit: cover; border: 1px solid rgba(148,163,184,.17); border-radius: 18px; }
.store-engagement { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 20px; }
.store-stars { display: inline-flex; gap: 3px; cursor: pointer; }
.store-stars i { color: #475569; font-size: 18px; transition: color .12s ease,transform .12s ease; }
.store-stars i:hover { transform: scale(1.12); }
.store-stars i.on { color: #facc15; }
.store-gate-message { margin-top: 11px; padding: 10px 12px; color: #94a3b8; font-size: 11.5px; line-height: 1.5; border-radius: 11px; background: rgba(148,163,184,.07); }
.store-comment { display: flex; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(148,163,184,.14); }
.store-comment-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.store-replies { display: flex; flex-direction: column; gap: 8px; margin: 9px 0 0 5px; padding-left: 13px; border-left: 2px solid rgba(168,85,247,.28); }

/* Seller studio */
.store-studio-shell { width: 100%; max-width: 900px; min-width: 0; margin: 0 auto; padding: 28px 20px 72px; box-sizing: border-box; position: relative; z-index: 5; overflow-x: clip; }
.store-seller-shell { max-width: 1080px; }
.store-seller-apply { max-width: 690px; padding-top: 55px; }
.store-studio-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.store-studio-heading h1,.store-seller-apply h1 { margin: 7px 0 6px; color: var(--text-primary,#fff); font-size: clamp(25px,4vw,34px); letter-spacing: -.03em; }
.store-studio-heading h1 i { margin-right: 7px; color: #a855f7; }
.store-studio-heading p { max-width: 650px; margin: 0; color: var(--text-secondary,#94a3b8); font-size: 12.5px; line-height: 1.55; }
.store-studio-card { min-width: 0; padding: 28px; border: 1px solid rgba(148,163,184,.17); border-radius: 22px; background: rgba(15,23,42,.62); box-shadow: inset 0 1px rgba(255,255,255,.06),0 18px 45px rgba(0,0,0,.18); }
.store-studio-card .form-input,.store-studio-card .form-select { max-width: 100%; }

@media (max-width: 1050px) {
    .store-category-rail { grid-template-columns: repeat(4,minmax(100px,1fr)); }
    .store-app-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .store-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .store-hero { grid-template-columns: minmax(0,1fr); padding: 34px 26px; }
    .store-showcase { transform: none; }
    .store-trust-row { grid-template-columns: minmax(0,1fr); }
    .store-catalog-bar { grid-template-columns: minmax(0,1fr) minmax(130px,.55fr); }
    .store-app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .store-product-hero,.store-product-layout { grid-template-columns: minmax(0,1fr); }
    .store-buy-card { position: static; }
    .store-product-layout > aside { display: block; grid-row: 1; min-width: 0; }
    .store-product-main { grid-row: 2; }
}
@media (max-width: 560px) {
    .store-shell,.store-product-shell,.store-studio-shell { padding: 14px 10px 54px; overflow-x: hidden; }
    .store-hero { min-height: 0; gap: 26px; padding: 25px 15px; border-radius: 19px; }
    .store-hero h1 { font-size: 39px; }
    .store-hero p { font-size: 13.5px; }
    .store-search { grid-template-columns: auto minmax(0,1fr); }
    .store-search .btn { grid-column: 1/-1; width: 100%; justify-content: center; }
    .store-hero-actions .btn { width: 100%; justify-content: center; }
    .store-window { max-width: 100%; }
    .store-category-rail { display: flex; max-width: 100%; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .store-category-rail::-webkit-scrollbar { display: none; }
    .store-category { flex: 0 0 124px; }
    .store-feature-grid,.store-app-grid { grid-template-columns: minmax(0,1fr); }
    .store-feature-card { min-height: 175px; }
    .store-catalog-bar { grid-template-columns: minmax(0,1fr); }
    .store-section-head { align-items: flex-start; flex-direction: column; }
    .store-product-summary { grid-template-columns: 72px minmax(0,1fr); gap: 14px; padding: 17px 14px; }
    .store-product-edit { grid-column: 1/-1; width: 100%; justify-content: center; }
    .store-product-icon { width: 72px; height: 72px; border-radius: 18px; font-size: 25px; }
    .store-product-copy h1 { font-size: 27px; }
    .store-product-shots img { height: 205px; }
    .store-panel { padding: 16px 13px; }
    .store-comment { gap: 8px; }
    .store-studio-heading { align-items: stretch; flex-direction: column; }
    .store-studio-heading .btn { width: 100%; justify-content: center; }
    .store-studio-card { padding: 19px 14px; border-radius: 17px; }
    .myapps-listing-row { align-items: flex-start; flex-wrap: wrap; }
}

[data-theme="light"] .store-feature-card,
[data-theme="light"] .store-app-card,
[data-theme="light"] .store-category,
[data-theme="light"] .store-catalog-bar,
[data-theme="light"] .store-trust-row div,
[data-theme="light"] .store-product-summary,
[data-theme="light"] .store-buy-card,
[data-theme="light"] .store-panel,
[data-theme="light"] .store-studio-card { background: rgba(255,255,255,.9); border-color: rgba(15,23,42,.12); }
[data-theme="light"] .store-feature-copy h3,
[data-theme="light"] .store-card-body h3,
[data-theme="light"] .store-section-head h2,
[data-theme="light"] .store-product-copy h1,
[data-theme="light"] .store-panel-title,
[data-theme="light"] .store-buy-price { color: #0f172a; }
