/* ==========================================================================
   FlowDeploy Store — catalog, product pages and reusable storefront pieces.
   Loaded after styles.css + premium.css. Uses the existing design tokens.
   ========================================================================== */

[hidden] { display: none !important; }

/* Store hero metric values */
.metric b i {
    font-style: normal;
}

/* ─── Store hero ─────────────────────────────────────────────────────────── */

.store-hero {
    position: relative;
    padding: calc(var(--site-header-h, 116px) + 34px) 0 clamp(42px, 6vw, 76px);
    overflow: clip;
}

.store-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 120vw);
    height: 900px;
    pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(201, 169, 122, 0.2), transparent 70%),
        radial-gradient(closest-side at 72% 42%, rgba(201, 184, 154, 0.16), transparent 68%),
        radial-gradient(closest-side at 24% 62%, rgba(185, 141, 111, 0.1), transparent 70%);
    filter: blur(10px);
}

.store-hero h1 {
    max-width: 19em;
    margin: 8px 0 0;
}

.store-hero h1 .line { display: block; }

.store-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
    margin-top: clamp(26px, 4vw, 42px);
}

.store-hero .lead {
    max-width: 58ch;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    color: #c5d3e2;
}

.store-hero .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.store-hero .hero-checks {
    margin-top: 26px;
}

/* Store manifest terminal */

.store-manifest {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(201, 169, 122, 0.12), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%),
        rgba(6, 10, 17, 0.86);
    box-shadow:
        0 34px 80px -52px rgba(201, 169, 122, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.store-manifest header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8ea3b8;
}

.store-manifest header b {
    margin-left: auto;
    color: #94b3a3;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.manifest-list { padding: 6px 0; }

.manifest-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.manifest-list li:last-child { border-bottom: 0; }

.manifest-list b {
    display: block;
    font-size: 0.9rem;
    font-weight: 550;
    letter-spacing: -0.01em;
    color: #f2ece2;
}

.manifest-list em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 0.72rem;
    color: #8a847a;
}

.manifest-status {
    min-width: 48px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    color: #a8a298;
    background: rgba(255, 255, 255, 0.03);
}

.manifest-status.live {
    color: #94b3a3;
    border-color: rgba(148, 179, 163, 0.35);
    background: rgba(148, 179, 163, 0.1);
}

.manifest-status.build {
    color: #d8b06a;
    border-color: rgba(216, 176, 106, 0.32);
    background: rgba(216, 176, 106, 0.08);
}

.manifest-status.next {
    color: #d8ccb6;
    border-color: rgba(216, 204, 182, 0.3);
    background: rgba(216, 204, 182, 0.08);
}

.manifest-price {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #f1ebdf;
    white-space: nowrap;
}

.manifest-foot {
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(201, 169, 122, 0.05);
    font-size: 0.72rem;
    color: #93a8bc;
}

/* ─── Featured project ───────────────────────────────────────────────────── */

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(80% 80% at 100% 0%, rgba(201, 169, 122, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%),
        rgba(7, 11, 18, 0.82);
    box-shadow:
        0 50px 110px -70px rgba(201, 169, 122, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.fp-media {
    position: relative;
    min-height: 440px;
    background:
        radial-gradient(circle at 30% 30%, rgba(201, 169, 122, 0.24), transparent 60%),
        #08090b;
    overflow: hidden;
}

.fp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transform: scale(1.01);
    transition: transform 0.7s var(--ease), opacity 0.4s ease;
}

.featured-project:hover .fp-media img {
    transform: scale(1.045);
    opacity: 0.96;
}

.fp-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 55%, rgba(7, 11, 18, 0.82) 100%),
        linear-gradient(0deg, rgba(4, 7, 13, 0.75), transparent 45%);
    pointer-events: none;
}

.fp-media-badges {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fp-play {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
}

.fp-play span {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(4, 10, 17, 0.52);
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 0 10px rgba(201, 169, 122, 0.08),
        0 0 60px -12px rgba(201, 169, 122, 0.8);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.fp-play svg { width: 26px; height: 26px; margin-left: 3px; }

.featured-project:hover .fp-play span {
    transform: scale(1.08);
    box-shadow:
        0 0 0 14px rgba(201, 169, 122, 0.1),
        0 0 80px -10px rgba(201, 169, 122, 0.9);
}

.fp-media-note {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 18px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.fp-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(24px, 4vw, 48px);
}

.fp-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e9d4ae;
}

.fp-kicker span:not(:first-child) { color: #8a847a; }

.fp-title {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.02;
}

.fp-tagline {
    max-width: 46ch;
    color: #b8b1a5;
    font-size: 1rem;
}

.fp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-price {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1;
    color: #f4efe6;
}

.fp-compare {
    color: #8a847a;
    font-size: 0.95rem;
    text-decoration: line-through;
}

.fp-billing {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e9d4ae;
}

.fp-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 2px 0;
}

.fp-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #b8b1a5;
    font-size: 0.82rem;
    line-height: 1.45;
}

.fp-highlights svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #94b3a3;
}

.fp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.fp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 2px;
    color: #8a847a;
    font-size: 0.74rem;
}

.fp-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fp-meta svg { width: 13px; height: 13px; color: #e9d4ae; }

/* ─── Project catalog cards ──────────────────────────────────────────────── */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
        rgba(7, 11, 18, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(233, 212, 174, 0.38);
    box-shadow:
        0 34px 66px -40px rgba(201, 169, 122, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.project-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 28% 26%, rgba(201, 169, 122, 0.36), transparent 62%),
        radial-gradient(circle at 78% 74%, rgba(201, 184, 154, 0.3), transparent 58%),
        #08090b;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s var(--ease), opacity 0.35s ease;
}

.project-card:hover .project-media img {
    transform: scale(1.05);
    opacity: 1;
}

.project-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 7, 13, 0.05) 30%, rgba(4, 7, 13, 0.8) 100%);
    pointer-events: none;
}

.project-media .project-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.16);
}

.project-chips {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(4, 9, 16, 0.68);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d7f7ff;
}

.project-chip.status-available { color: #94b3a3; border-color: rgba(148, 179, 163, 0.4); }
.project-chip.status-coming-soon { color: #d8b06a; border-color: rgba(216, 176, 106, 0.4); }
.project-chip.status-sold-out { color: #b98d6f; border-color: rgba(185, 141, 111, 0.4); }

.project-play {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(4, 10, 17, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
}

.project-play svg { width: 15px; height: 15px; margin-left: 2px; }

.project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.project-cat {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e9d4ae;
}

.project-title {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.project-title a:hover { color: #e9d4ae; }

.project-tagline {
    color: #a8a298;
    font-size: 0.86rem;
    line-height: 1.55;
}

.project-points {
    display: grid;
    gap: 5px;
    margin-top: 4px;
}

.project-points li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #90a4b9;
    font-size: 0.76rem;
    line-height: 1.45;
}

.project-points svg {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    color: #94b3a3;
}

.project-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.project-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 7px;
}

.project-price b {
    font-size: 1.4rem;
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #f4efe6;
}

.project-price s {
    color: #6d7f96;
    font-size: 0.75rem;
}

.project-price em {
    flex-basis: 100%;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a847a;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e9d4ae;
    white-space: nowrap;
}

.project-link svg { width: 13px; height: 13px; transition: transform 0.2s ease; }
.project-link:hover svg { transform: translateX(3px); }

.project-card.is-build {
    border-style: dashed;
    background:
        radial-gradient(80% 80% at 20% 0%, rgba(216, 176, 106, 0.07), transparent 60%),
        rgba(7, 11, 18, 0.5);
}

.project-card.is-build .project-media {
    background:
        radial-gradient(circle at 50% 50%, rgba(216, 176, 106, 0.12), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 10px, transparent 10px 20px),
        #08090b;
}

.build-glyph {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
}

.build-glyph span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d8b06a;
}

.build-glyph strong {
    font-size: 1.1rem;
    font-weight: 550;
    color: #e8eef6;
}

.project-card.is-build .project-link { color: #d8b06a; }

/* Skeleton while the catalog loads */

.project-skeleton {
    min-height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.03) 20%, rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.03) 60%),
        rgba(7, 11, 18, 0.6);
    background-size: 220% 100%;
    animation: storeShimmer 1.4s linear infinite;
}

@keyframes storeShimmer {
    to { background-position: -220% 0; }
}

/* ─── Catalog toolbar ────────────────────────────────────────────────────── */

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    background: rgba(7, 11, 18, 0.62);
}

.catalog-search {
    position: relative;
    flex: 1 1 240px;
    min-width: 0;
}

.catalog-search svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    color: #6d7f96;
    pointer-events: none;
}

.catalog-search input {
    width: 100%;
    padding: 10px 13px 10px 36px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(4, 7, 13, 0.7);
    color: #f4efe6;
    font: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search input::placeholder { color: #6d7f96; }

.catalog-search input:focus {
    border-color: rgba(233, 212, 174, 0.55);
    box-shadow: 0 0 0 4px rgba(201, 169, 122, 0.08);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-chip {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #a8a298;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover { color: #fff; border-color: rgba(233, 212, 174, 0.4); }

.filter-chip[aria-pressed="true"] {
    color: #15120d;
    border-color: transparent;
    background: linear-gradient(120deg, #f7f2e9, #e9d4ae 45%, #d8ccb6 100%);
}

.catalog-count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a847a;
    white-space: nowrap;
}

.catalog-empty {
    padding: 54px 24px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    text-align: center;
    color: #a8a298;
}

.catalog-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #f2ece2;
    font-size: 1.05rem;
}

.catalog-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    color: #8a847a;
    font-size: 0.8rem;
}

.catalog-foot a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #e9d4ae;
}

.catalog-foot a svg { width: 14px; height: 14px; }

/* ─── What ships with every project ─────────────────────────────────────── */

.store-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.store-feature {
    position: relative;
    padding: 26px 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
        rgba(7, 11, 18, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

.store-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 212, 174, 0.36);
}

.store-feature .cap-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border: 1px solid rgba(233, 212, 174, 0.24);
    border-radius: 12px;
    background: rgba(201, 169, 122, 0.08);
    color: #e9d4ae;
}

.store-feature .cap-icon svg { width: 18px; height: 18px; }

.store-feature h3 {
    margin: 0 0 7px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.store-feature p {
    color: #a8a298;
    font-size: 0.84rem;
    line-height: 1.62;
}

/* ─── Ownership / why projects ──────────────────────────────────────────── */

.ownership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(22px, 4vw, 46px);
    align-items: start;
}

.ownership-list {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ownership-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ownership-list .num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e9d4ae;
}

.ownership-list h3 {
    margin: 0 0 5px;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.ownership-list p {
    color: #a8a298;
    font-size: 0.87rem;
    line-height: 1.62;
}

.ownership-panel {
    position: sticky;
    top: calc(var(--site-header-h, 116px) + 24px);
    padding: 28px;
    border: 1px solid rgba(233, 212, 174, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(100% 80% at 100% 0%, rgba(201, 169, 122, 0.14), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
        rgba(6, 10, 17, 0.85);
    box-shadow: 0 40px 90px -60px rgba(201, 169, 122, 0.8);
}

.ownership-panel .section-tag { margin-bottom: 14px; }

.ownership-panel blockquote {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.35;
    color: #f1ebdf;
}

.ownership-panel blockquote b {
    font-weight: 650;
    background: linear-gradient(100deg, #f7f1e6, #e9d4ae 35%, #e0d3ba 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ownership-panel p {
    color: #a8a298;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.ownership-checks {
    display: grid;
    gap: 9px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ownership-checks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #b8b1a5;
    font-size: 0.82rem;
}

.ownership-checks svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #94b3a3;
}

/* ─── Store CTA band ─────────────────────────────────────────────────────── */

.store-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid rgba(233, 212, 174, 0.24);
    border-radius: 30px;
    text-align: center;
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(201, 169, 122, 0.16), transparent 62%),
        radial-gradient(50% 60% at 100% 100%, rgba(201, 184, 154, 0.14), transparent 60%),
        rgba(6, 10, 17, 0.86);
    box-shadow:
        0 50px 110px -70px rgba(201, 169, 122, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.store-cta::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--spin, 0deg), transparent 0 62%, #e9d4ae, #e0d3ba, #d7b498, transparent 88%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spinProp 9s linear infinite;
    pointer-events: none;
}

.store-cta h2 {
    max-width: 18em;
    margin: 0 auto 12px;
}

.store-cta p {
    max-width: 58ch;
    margin: 0 auto 24px;
    color: #b8b1a5;
    font-size: 1rem;
}

.store-cta .hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ─── Generic product page ──────────────────────────────────────────────── */

.product-hero {
    position: relative;
    padding: calc(var(--site-header-h, 116px) + 30px) 0 clamp(40px, 6vw, 70px);
    overflow: clip;
}

.product-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -20%;
    right: -10%;
    width: 900px;
    height: 700px;
    background:
        radial-gradient(closest-side, rgba(201, 169, 122, 0.16), transparent 70%),
        radial-gradient(closest-side at 60% 60%, rgba(201, 184, 154, 0.14), transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}

.product-breadcrumbs { margin-bottom: 22px; }

.product-detail {
    padding-top: calc(var(--site-header-h, 116px) + 30px);
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: center;
}

.product-media {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 30% 25%, rgba(201, 169, 122, 0.28), transparent 62%),
        radial-gradient(circle at 78% 76%, rgba(201, 184, 154, 0.26), transparent 58%),
        #08090b;
    box-shadow: 0 44px 100px -64px rgba(201, 169, 122, 0.7);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 7, 13, 0.7) 100%);
    pointer-events: none;
}

.product-media .project-chips {
    top: 16px;
    left: 16px;
    right: 16px;
}

.product-media .product-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    color: rgba(255, 255, 255, 0.14);
}

.product-info { min-width: 0; }

.product-info .fp-kicker { margin-bottom: 12px; }

.product-info h1 {
    margin: 0 0 12px;
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    line-height: 1.02;
}

.product-tagline {
    max-width: 52ch;
    margin-bottom: 20px;
    color: #b8b1a5;
    font-size: 1.05rem;
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.product-price-row .fp-price { font-size: clamp(2rem, 3.2vw, 2.7rem); }

.product-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 18px 0;
}

.product-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #b8b1a5;
    font-size: 0.84rem;
    line-height: 1.45;
}

.product-highlights svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #94b3a3;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.product-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    color: #8a847a;
    font-size: 0.75rem;
}

.product-notes span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-notes svg { width: 13px; height: 13px; color: #e9d4ae; }

.product-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.product-description {
    max-width: 68ch;
}

.product-description h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.product-description p {
    margin-bottom: 14px;
    color: #b8b1a5;
    font-size: 0.96rem;
    line-height: 1.72;
}

.buy-panel {
    position: sticky;
    top: calc(var(--site-header-h, 116px) + 24px);
    padding: 24px;
    border: 1px solid rgba(233, 212, 174, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(100% 80% at 100% 0%, rgba(201, 169, 122, 0.13), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
        rgba(6, 10, 17, 0.86);
    box-shadow: 0 40px 90px -60px rgba(201, 169, 122, 0.8);
}

.buy-panel .fp-price { font-size: 2.2rem; }

.buy-panel .buy-panel-note {
    margin: 10px 0 18px;
    color: #8a847a;
    font-size: 0.78rem;
    line-height: 1.55;
}

.buy-panel .btn { width: 100%; }

.spec-list {
    display: grid;
    gap: 0;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-list li {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
}

.spec-list dt, .spec-list .spec-label { color: #8a847a; }
.spec-list dd, .spec-list .spec-value { margin: 0; color: #d5e3f1; }

.product-video-block,
.product-video-local {
    scroll-margin-top: calc(var(--site-header-h, 116px) + 24px);
}

.product-video-block {
    margin-top: clamp(34px, 5vw, 56px);
}

.product-video-block .section-head {
    margin-bottom: 16px;
}

.product-video-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(233, 212, 174, 0.24);
    border-radius: 22px;
    background: #08090b;
    box-shadow: 0 40px 90px -60px rgba(201, 169, 122, 0.8);
}

.product-video-frame video {
    display: block;
    width: 100%;
    max-height: 680px;
    background: #08090b;
}

.product-video-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 10px;
    color: #8a847a;
    font-size: 0.74rem;
}

.product-video-note a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e9d4ae;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Local product video inside the Atom Studio console */
.product-video-local {
    margin-bottom: 20px;
    border: 1px solid rgba(201, 169, 122, 0.35);
    border-radius: 16px;
    overflow: hidden;
    background: #08090b;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.9);
}

.product-video-local video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #08090b;
}

.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-feature {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    background: rgba(7, 11, 18, 0.66);
}

.product-feature h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.product-feature h3::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e9d4ae;
    box-shadow: 0 0 10px rgba(233, 212, 174, 0.8);
}

.product-feature p {
    color: #a8a298;
    font-size: 0.82rem;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.product-tags span {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a298;
}

.product-not-found {
    padding: 80px 24px;
    text-align: center;
}

.product-not-found .code {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 169, 122, 0.55);
}

.product-not-found h1 { margin: 8px 0 10px; }

.product-not-found p {
    max-width: 44ch;
    margin: 0 auto 22px;
    color: #a8a298;
}

/* ─── Store footer tweaks ────────────────────────────────────────────────── */

.footer-admin-link {
    color: #5d7188 !important;
    font-size: 0.74rem !important;
}

.footer-admin-link:hover { color: #e9d4ae !important; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .store-hero-grid { grid-template-columns: 1fr; align-items: start; }
    .store-manifest { max-width: 620px; }
    .project-grid, .store-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .featured-project { grid-template-columns: 1fr; }
    .fp-media { min-height: 340px; }
    .fp-media::after {
        background:
            linear-gradient(0deg, rgba(7, 11, 18, 0.92), transparent 55%),
            linear-gradient(90deg, transparent, rgba(7, 11, 18, 0.35));
    }
    .ownership-grid, .product-body-grid { grid-template-columns: 1fr; }
    .ownership-panel, .buy-panel { position: static; }
    .product-hero-grid { grid-template-columns: 1fr; }
    .product-media { max-width: 720px; }
}

@media (max-width: 760px) {
    .store-hero { padding-top: calc(var(--site-header-h, 116px) + 24px); }
    .store-hero h1 { font-size: clamp(2.35rem, 9vw, 3.4rem); }
    .fp-highlights, .product-highlights { grid-template-columns: 1fr; }
    .project-grid, .store-feature-grid, .product-feature-grid { grid-template-columns: 1fr; }
    .catalog-count { margin-left: 0; }
    .catalog-toolbar { padding: 10px; }
    .fp-body { padding: 22px; }
    .fp-media { min-height: 260px; }
    .fp-play span { width: 60px; height: 60px; }
    .fp-play svg { width: 21px; height: 21px; }
    .featured-project { border-radius: 22px; }
    .product-media { aspect-ratio: 16 / 9; }
    .product-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
    .store-cta { padding: 30px 20px; border-radius: 22px; }
    .manifest-list li { padding: 11px 14px; }
    .manifest-list em { font-size: 0.68rem; }
    .ownership-list h3 { font-size: 0.96rem; }
}

@media (prefers-reduced-motion: reduce) {
    .project-card, .project-media img, .fp-media img, .store-feature { transition: none; }
    .project-skeleton { animation: none; }
    .store-cta::before { animation: none; }
}
