/* ============================================================
   SenseStars · Editorial v3 · Раздел «Магазин» (store)
   ----------------------------------------------------------------
   Полная переразметка под mockup-c-store.html.
   Скоупаны на body.app[data-section="store"] #screen-store.
   ============================================================ */

body.app[data-section="store"] {
    background: var(--section-bg, var(--bg));
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    color: var(--text);
}
body.app[data-section="store"] #app-content {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 0 110px;
    position: relative;
    z-index: 1;
    background: var(--section-bg, var(--bg));
}

body.app[data-section="store"] #dynamic-bg,
body.app[data-section="store"] #oracle-glow,
body.app[data-section="store"] #magic-particles {
    display: none;
}
body.app[data-section="store"] > header.legacy-header,
body.app[data-section="store"] .top-pills-v3,
body.app[data-section="store"] .top-pills-v3-diary,
body.app[data-section="store"] .top-pills-v3-conn,
body.app[data-section="store"] .top-pills-v3-evol {
    display: none;
}

/* ── Cover ──────────────────────────────────────────────────── */
body.app[data-section="store"] #screen-store .store-cover {
    position: relative;
    padding: 24px 0 28px;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 16px;
}
body.app[data-section="store"] #screen-store .store-cover__emblem {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -60px;
    top: -10px;
    color: var(--section-voice);
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}
body.app[data-section="store"] #screen-store .store-cover__content {
    position: relative;
    z-index: 1;
}
body.app[data-section="store"] #screen-store .store-cover__eyebrow {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--section-voice);
    margin-bottom: 24px;
}
body.app[data-section="store"] #screen-store .store-cover__roman {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    line-height: 1;
    color: var(--section-voice);
}
body.app[data-section="store"] #screen-store .store-cover__sep {
    font-family: var(--serif);
    color: var(--section-voice);
    opacity: 0.5;
    font-size: 14px;
    line-height: 1;
}
body.app[data-section="store"] #screen-store .store-cover__title,
body.app[data-section="store"] #screen-store h2#store-title {
    font-family: var(--serif) !important;
    font-weight: 500 !important;
    font-style: normal;
    font-size: 44px !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    margin: 0 0 14px !important;
    max-width: 90%;
    text-align: left !important;
    text-shadow: none !important;
}
body.app[data-section="store"] #screen-store .store-cover__title em,
body.app[data-section="store"] #screen-store h2#store-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--section-voice);
}
body.app[data-section="store"] #screen-store .store-cover__lead,
body.app[data-section="store"] #screen-store #store-subtitle {
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    max-width: 320px;
    margin-bottom: 16px;
}
body.app[data-section="store"] #screen-store .store-cover__rule {
    width: 56px;
    height: 1px;
    background: var(--section-voice);
    position: relative;
}
body.app[data-section="store"] #screen-store .store-cover__rule::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 56px;
    height: 1px;
    background: var(--section-voice);
    opacity: 0.45;
}

/* ── Status section-card ────────────────────────────────────── */
body.app[data-section="store"] #screen-store #store-status-card.section-card {
    margin: 0 0 28px;
    background: var(--bg-elev) !important;
    background-image: none !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: none;
    position: relative;
    z-index: 1;
}
body.app[data-section="store"] #screen-store .eyebrow-accent {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--section-voice);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0;
}
body.app[data-section="store"] #screen-store .status-list {
    margin-top: 16px;
}
body.app[data-section="store"] #screen-store .status-list .status-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
    margin: 0;
    font-family: var(--sans);
}
body.app[data-section="store"] #screen-store .status-list .status-row:first-child {
    border-top: none;
    padding-top: 4px;
}
body.app[data-section="store"] #screen-store .status-list .status-row .label {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}
body.app[data-section="store"] #screen-store .status-list .status-row .value {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--section-voice);
}
body.app[data-section="store"] #screen-store .status-list .status-row .value.dim {
    color: var(--text-muted);
    font-style: normal;
}

/* ── Section block с лейблом ─────────────────────────────────── */
body.app[data-section="store"] #screen-store .store-section {
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}
body.app[data-section="store"] #screen-store .section-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 16px;
}
body.app[data-section="store"] #screen-store .section-label .label-text {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
}
body.app[data-section="store"] #screen-store .section-label .label-link {
    font-size: 11px;
    color: var(--section-voice);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ── Premium horizontal scroll ───────────────────────────────── */
body.app[data-section="store"] #screen-store .premium-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}
body.app[data-section="store"] #screen-store .premium-scroll::-webkit-scrollbar {
    display: none;
}
body.app[data-section="store"] #screen-store .premium-card {
    flex: 0 0 220px;
    height: 156px;
    background: var(--bg-elev) !important;
    background-image: none !important;
    border: 1px solid var(--line) !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: none !important;
    margin: 0 !important;
}
body.app[data-section="store"] #screen-store .premium-card.best {
    border-left: 2px solid var(--section-voice) !important;
    background: var(--bg-elev-2) !important;
}
body.app[data-section="store"] #screen-store .premium-card .tag {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--sans);
    font-size: 9px;
    color: var(--section-voice);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 8px;
    border: 1px solid var(--section-voice);
    border-radius: 999px;
    font-weight: 500;
}
body.app[data-section="store"] #screen-store .premium-card .pc-eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    color: var(--section-voice);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
}
body.app[data-section="store"] #screen-store .premium-card .pc-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    margin-top: 6px;
    line-height: 1.1;
}
body.app[data-section="store"] #screen-store .premium-card .pc-body {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
    margin-top: 4px;
}
body.app[data-section="store"] #screen-store .premium-card .pc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
body.app[data-section="store"] #screen-store .premium-card .pc-price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--section-voice);
}
body.app[data-section="store"] #screen-store .premium-card .pc-arrow {
    color: var(--text-dim);
}

/* ── Row list (oracle packs / spreads / artifacts) ───────────── */
body.app[data-section="store"] #screen-store .row-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.app[data-section="store"] #screen-store .store-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s;
}
body.app[data-section="store"] #screen-store .store-row:active {
    background: var(--bg-elev-2);
}
body.app[data-section="store"] #screen-store .store-row .row-glyph {
    width: 36px;
    flex: 0 0 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 22px;
    color: var(--section-voice);
    border: 1px solid var(--line);
    border-radius: 50%;
}
body.app[data-section="store"] #screen-store .store-row .row-body {
    flex: 1;
    min-width: 0;
}
body.app[data-section="store"] #screen-store .store-row .row-name {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
}
body.app[data-section="store"] #screen-store .store-row .row-meta {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
}
body.app[data-section="store"] #screen-store .store-row .row-meta .ext {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
body.app[data-section="store"] #screen-store .store-row .row-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
body.app[data-section="store"] #screen-store .store-row .row-price {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--section-voice);
    white-space: nowrap;
}
body.app[data-section="store"] #screen-store .store-row .row-arrow {
    color: var(--text-dim);
}

/* ── Service card ────────────────────────────────────────────── */
body.app[data-section="store"] #screen-store .service-card {
    background: var(--bg-elev) !important;
    background-image: none !important;
    border: 1px solid var(--line) !important;
    border-radius: 18px !important;
    padding: 24px 22px !important;
    box-shadow: none !important;
}
body.app[data-section="store"] #screen-store .service-card .svc-title {
    font-family: var(--serif);
    font-size: 22px;
    font-style: italic;
    font-weight: 500;
    color: var(--text);
    margin-top: 10px;
    line-height: 1.15;
}
body.app[data-section="store"] #screen-store .service-card .svc-body {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--text-dim);
    line-height: 1.4;
    margin-top: 12px;
}
body.app[data-section="store"] #screen-store .service-card .svc-price {
    font-family: var(--serif);
    font-size: 28px;
    color: var(--section-voice);
    margin-top: 18px;
    letter-spacing: 0.02em;
}
body.app[data-section="store"] #screen-store .service-card .svc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 22px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
}
body.app[data-section="store"] #screen-store .service-card .svc-cta svg {
    color: var(--section-voice);
}
