/* LifeTronix Project Store v2.0.6 — 90px desktop gutters, 4-up desktop / 2-up mobile catalogue. */
.ltx-project-store {
    --ltxps-fg: var(--su-fg, #172438);
    --ltxps-muted: var(--su-muted, #718198);
    --ltxps-border: var(--su-border, #dbe5f0);
    --ltxps-card: var(--su-card, #fff);
    --ltxps-panel: var(--su-panel, #eef4fa);
    box-sizing: border-box;
    width: calc(100vw - 180px);
    max-width: none;
    margin: 30px 0 64px;
    margin-left: calc(50% - 50vw + 90px);
    padding: 0;
    color: var(--ltxps-fg);
    font-family: inherit;
}

.ltx-project-store,
.ltx-project-store * { box-sizing: border-box; }

/* Branded hero header: richer than a plain catalogue heading, without filters or fake metrics. */
.ltx-project-store__heading {
    position: relative;
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    margin: 0 0 28px;
    padding: 30px 34px;
    border: 1px solid var(--ltxps-border);
    border-radius: 20px;
    background: linear-gradient(112deg, color-mix(in srgb, var(--ltxps-panel) 92%, #4b9aff 8%), var(--ltxps-card));
    box-shadow: 0 12px 34px rgba(19, 48, 83, .055);
}

.ltx-project-store__heading:before {
    position: absolute;
    top: -105px;
    right: 165px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(57, 137, 246, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ltx-project-store__heading:after {
    position: absolute;
    top: -65px;
    right: 205px;
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(57, 137, 246, .16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ltx-project-store__heading-copy { position: relative; z-index: 1; max-width: 760px; }

.ltx-project-store__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: #287fe9;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ltx-project-store__eyebrow:before {
    display: inline-block;
    width: 20px;
    height: 2px;
    border-radius: 4px;
    background: #3989f6;
    content: "";
}

.ltx-project-store__heading h2 {
    margin: 0 0 9px;
    color: var(--ltxps-fg);
    font-size: clamp(32px, 3.7vw, 46px);
    font-weight: 900;
    letter-spacing: -.052em;
    line-height: 1.05;
}

.ltx-project-store__heading p {
    max-width: 650px;
    margin: 0;
    color: var(--ltxps-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ltx-project-store__hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ltx-project-store__hero-tags span {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(57, 137, 246, .18);
    border-radius: 999px;
    background: rgba(57, 137, 246, .065);
    color: var(--ltxps-fg);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .015em;
}

.ltx-project-store__hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    width: 170px;
    min-width: 170px;
    height: 126px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(112, 179, 255, .28);
    border-radius: 17px;
    background: radial-gradient(circle at 50% 35%, #1b4366, #12253e 76%);
    box-shadow: 0 12px 26px rgba(10, 34, 64, .15);
}

.ltx-project-store__hero-visual:before,
.ltx-project-store__hero-visual:after {
    position: absolute;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(101, 200, 255, .2);
    border-radius: 50%;
    content: "";
}
.ltx-project-store__hero-visual:after { width: 112px; height: 112px; border-style: dashed; }

.ltx-project-store__hero-chip {
    position: relative;
    z-index: 1;
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    border: 1px solid rgba(105, 216, 255, .52);
    border-radius: 14px;
    background: rgba(11, 30, 51, .75);
    color: #8be5ff;
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -.06em;
}

.ltx-project-store__hero-caption {
    position: relative;
    z-index: 1;
    color: #b5d9ee;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}
.ltx-project-store__hero-caption i { display: inline-block; width: 3px; height: 3px; margin: 0 4px 2px; border-radius: 50%; background: #69d8ff; }

/* Four columns on desktop. Incomplete rows stay left-aligned so new listings begin at the first slot. */
.ltx-project-store__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 22px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ltx-project-store__grid > .ltx-creator-product-card {
    flex: 0 1 calc((100% - 66px) / 4);
    width: calc((100% - 66px) / 4);
    min-width: 0;
    max-width: none;
}

.ltx-project-store .ltx-creator-product-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ltxps-border);
    border-radius: 17px;
    background: var(--ltxps-card);
    color: var(--ltxps-fg);
    box-shadow: 0 8px 26px rgba(15, 35, 62, .065);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    isolation: isolate;
}

.ltx-project-store .ltx-creator-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 137, 246, .42);
    box-shadow: 0 18px 38px rgba(15, 35, 62, .13);
}

.ltx-project-store .ltx-creator-product-image {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--ltxps-panel);
}

.ltx-project-store .ltx-creator-product-image img,
.ltx-project-store .ltx-creator-product-image-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    transition: transform .35s ease;
}
.ltx-project-store .ltx-creator-product-card:hover .ltx-creator-product-image img { transform: scale(1.035); }

.ltx-project-store .ltx-creator-product-copy {
    display: flex;
    min-height: 205px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 17px 17px 16px;
}

.ltx-project-store__category {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    overflow: hidden;
    margin: 0 0 9px;
    padding: 5px 8px;
    border: 1px solid rgba(57, 137, 246, .18);
    border-radius: 999px;
    background: rgba(57, 137, 246, .06);
    color: #2878e6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .075em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.ltx-project-store .ltx-creator-product-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 8px;
    color: var(--ltxps-fg);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 900;
    letter-spacing: -.028em;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ltx-project-store .ltx-creator-product-copy > p {
    display: -webkit-box;
    min-height: 3.1em;
    max-height: 3.1em;
    overflow: hidden;
    margin: 0;
    color: var(--ltxps-muted);
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ltx-project-store__creator {
    display: block;
    margin: auto 0 0;
    padding-top: 2px;
    color: var(--ltxps-muted);
    font-size: 10px;
    line-height: 1.5;
}

.ltx-project-store .ltx-creator-product-bottom {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid var(--ltxps-border);
}

.ltx-project-store .ltx-creator-product-bottom strong { color: var(--ltxps-fg); font-size: 15px; font-weight: 900; line-height: 1.2; }

.ltx-project-store__buy {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid #3989f6;
    border-radius: 9px;
    background: #3989f6;
    color: #fff !important;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(57, 137, 246, .16);
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ltx-project-store__buy:hover,
.ltx-project-store__buy:focus-visible { transform: translateY(-1px); border-color: #2474e4; background: #2474e4; color: #fff !important; box-shadow: 0 8px 16px rgba(57, 137, 246, .22); }
.ltx-project-store__buy:focus-visible { outline: 3px solid rgba(57, 137, 246, .28); outline-offset: 3px; }
.ltx-project-store__unavailable { color: var(--ltxps-muted); font-size: 10px; font-weight: 750; }

.ltx-project-store__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 42%, #1d4260, #10213a 68%, #0b1423);
    color: #75d9ff;
}
.ltx-project-store__placeholder span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(94, 195, 255, .45);
    border-radius: 16px;
    background: rgba(10, 28, 48, .45);
    font-size: 23px;
    font-weight: 900;
}
.ltx-project-store__placeholder small { font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.ltx-project-store__image-badge { position: absolute; z-index: 2; top: 11px; display: block; max-width: calc(100% - 22px); overflow: hidden; padding: 5px 9px; border: 1px solid rgba(160, 190, 220, .3); border-radius: 999px; background: rgba(9, 17, 30, .82); color: #9bd2ff; font-size: 8px; font-weight: 900; letter-spacing: .1em; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.ltx-project-store__image-badge { left: 11px; }
.ltx-project-store__image-badge--creator { border-color: rgba(103, 216, 255, .4); background: rgba(7, 18, 33, .88); color: #d8f3ff; letter-spacing: .035em; text-transform: none; }
.ltx-project-store__image-badge--type { text-transform: uppercase; }

.ltx-project-store__empty { display: flex; min-height: 190px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 30px; border: 1px dashed var(--ltxps-border); border-radius: 16px; background: var(--ltxps-panel); text-align: center; }
.ltx-project-store__empty-mark { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: #122a45; color: #74d9ff; font-size: 16px; font-weight: 900; }
.ltx-project-store__empty strong { color: var(--ltxps-fg); font-size: 17px; }
.ltx-project-store__empty p { max-width: 560px; margin: 0; color: var(--ltxps-muted); font-size: 12px; line-height: 1.65; }
.ltx-ps-message { padding: 12px 15px; border: 1px solid #d9e5f1; border-radius: 10px; background: #f5f9ff; color: #24364c; font-size: 13px; }

/* v2.0.8 — published project catalogue layout. */
.ltx-project-store__published { margin: 0; }
.ltx-project-store__published + .ltx-project-store__published { margin-top: 52px; }
.ltx-project-store__empty--section { min-height: 112px; padding: 22px 26px; }
.ltx-project-store__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 17px;
}
.ltx-project-store__section-heading > div { min-width: 0; }
.ltx-project-store__section-heading .ltx-project-store__eyebrow { margin-bottom: 7px; }
.ltx-project-store__section-heading h3 {
    margin: 0 0 5px;
    color: var(--ltxps-fg);
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.15;
}
.ltx-project-store__section-heading p {
    margin: 0;
    color: var(--ltxps-muted);
    font-size: 12px;
    line-height: 1.6;
}
.ltx-project-store__section-count {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--ltxps-border);
    border-radius: 999px;
    background: var(--ltxps-card);
    color: var(--ltxps-muted);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.ltx-project-store .ltx-project-store__card-action { margin-top: 0; padding-top: 10px; }
.ltx-project-store .ltx-project-store__card-action .ltx-project-store__open-project { min-height: 43px; }
.ltx-project-store .ltx-creator-product-image { aspect-ratio: 1 / 1; }
.ltx-project-store .ltx-creator-product-image > img,
.ltx-project-store .ltx-creator-product-image > .ltx-creator-product-image-img { width: 100%; height: 100%; object-fit: cover; }
.ltx-project-store__placeholder strong {
    max-width: calc(100% - 30px);
    color: #b7d7ec;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1.4;
    text-align: center;
}

/* Medium screens: three balanced columns. */
@media (max-width: 1199px) {
    .ltx-project-store__grid { gap: 18px; }
    .ltx-project-store__grid > .ltx-creator-product-card { flex-basis: calc((100% - 36px) / 3); width: calc((100% - 36px) / 3); }
    .ltx-project-store__hero-visual { width: 145px; min-width: 145px; }
}

/* Tablets: two columns. */
@media (max-width: 900px) {
    .ltx-project-store { width: calc(100vw - 48px); margin: 28px 0 48px; margin-left: calc(50% - 50vw + 24px); }
    .ltx-project-store__grid { gap: 18px; }
    .ltx-project-store__grid > .ltx-creator-product-card { flex-basis: calc((100% - 18px) / 2); width: calc((100% - 18px) / 2); }
    .ltx-project-store__heading { min-height: 176px; padding: 26px; }
}

@media (max-width: 760px) {
    .ltx-project-store { width: calc(100vw - 40px); margin: 24px 0 42px; margin-left: calc(50% - 50vw + 20px); }
    .ltx-project-store__heading { gap: 16px; padding: 23px; }
    .ltx-project-store__hero-visual { width: 112px; min-width: 112px; height: 108px; }
    .ltx-project-store__hero-caption { font-size: 7px; letter-spacing: .08em; }
    .ltx-project-store .ltx-creator-product-copy { min-height: 190px; padding: 14px; }
}

/* Phones intentionally retain a 2-column card grid. */
@media (max-width: 540px) {
    .ltx-project-store { width: calc(100vw - 28px); margin: 20px 0 34px; margin-left: calc(50% - 50vw + 14px); }
    .ltx-project-store__heading { min-height: 0; margin-bottom: 18px; padding: 19px 17px; border-radius: 15px; }
    .ltx-project-store__heading h2 { font-size: clamp(27px, 7vw, 33px); }
    .ltx-project-store__heading p { max-width: 100%; font-size: 12px; }
    .ltx-project-store__eyebrow { font-size: 8px; letter-spacing: .12em; }
    .ltx-project-store__hero-tags { gap: 5px; margin-top: 12px; }
    .ltx-project-store__hero-tags span { min-height: 23px; padding: 0 7px; font-size: 8px; }
    .ltx-project-store__hero-visual { display: none; }
    .ltx-project-store__grid { gap: 12px; }
    .ltx-project-store__grid > .ltx-creator-product-card { flex-basis: calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); }
    .ltx-project-store .ltx-creator-product-image { aspect-ratio: 1 / 1; }
    .ltx-project-store .ltx-creator-product-copy { min-height: 0; padding: 11px 10px 10px; }
    .ltx-project-store__category { margin-bottom: 7px; padding: 4px 6px; font-size: 7px; letter-spacing: .04em; }
    .ltx-project-store .ltx-creator-product-copy h3 { margin-bottom: 6px; font-size: 13px; line-height: 1.28; }
    .ltx-project-store .ltx-creator-product-copy > p { min-height: 2.9em; max-height: 2.9em; margin: 0; font-size: 10px; line-height: 1.45; -webkit-line-clamp: 2; }
    .ltx-project-store__creator { font-size: 9px; }
    .ltx-project-store__buy { width: 100%; min-height: 34px; padding: 0 7px; font-size: 10px; }
    .ltx-project-store__unavailable { font-size: 9px; }
    .ltx-project-store__image-badge { top: 7px; left: 7px; max-width: calc(100% - 14px); padding: 4px 6px; font-size: 7px; }
}

@media (max-width: 360px) {
    .ltx-project-store__grid { gap: 9px; }
    .ltx-project-store__grid > .ltx-creator-product-card { flex-basis: calc((100% - 9px) / 2); width: calc((100% - 9px) / 2); }
    .ltx-project-store .ltx-creator-product-copy { padding: 9px 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .ltx-project-store .ltx-creator-product-card,
    .ltx-project-store .ltx-creator-product-image img,
    .ltx-project-store__buy { transition: none; }
}

/* v2.0.6 — full-width, visual-only project action. */
.ltx-project-store .ltx-creator-product-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.ltx-project-store .ltx-project-store__card-action {
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
}

.ltx-project-store .ltx-project-store__open-project {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid #3989f6;
    border-radius: 10px;
    background: linear-gradient(110deg, #3989f6 0%, #236fe0 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .005em;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 7px 16px rgba(57, 137, 246, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    cursor: pointer;
}

.ltx-project-store .ltx-project-store__open-arrow {
    display: inline-block;
    font-size: 17px;
    line-height: 1;
    transition: transform .18s ease;
}

.ltx-project-store .ltx-project-store__card:hover .ltx-project-store__open-project {
    filter: brightness(1.045);
    box-shadow: 0 10px 20px rgba(57, 137, 246, .24);
}

.ltx-project-store .ltx-project-store__card:hover .ltx-project-store__open-arrow {
    transform: translateX(3px);
}

@media (max-width: 760px) {
    .ltx-project-store .ltx-project-store__card-action { padding-top: 10px; }
    .ltx-project-store .ltx-project-store__open-project {
        min-height: 39px;
        gap: 7px;
        padding: 0 9px;
        border-radius: 8px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .ltx-project-store .ltx-project-store__open-project { min-height: 36px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .ltx-project-store .ltx-project-store__open-project,
    .ltx-project-store .ltx-project-store__open-arrow { transition: none; }
}


/* v2.0.7 — creator attribution sits quietly at the bottom-right of project artwork. */
.ltx-project-store .ltx-project-store__image-badge--creator {
    top: auto;
    right: 11px;
    bottom: 11px;
    left: auto;
    max-width: calc(100% - 22px);
    padding: 6px 10px;
    border-color: rgba(103, 216, 255, .34);
    background: rgba(7, 18, 33, .84);
    color: #e4f5ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .015em;
    line-height: 1.2;
    text-transform: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 540px) {
    .ltx-project-store .ltx-project-store__image-badge--creator {
        right: 7px;
        bottom: 7px;
        left: auto;
        max-width: calc(100% - 14px);
        padding: 4px 7px;
        font-size: 7px;
    }
}


/* v2.0.8 responsive refinements — keep square art and left-starting rows at every size. */
.ltx-project-store .ltx-creator-product-image { aspect-ratio: 1 / 1; }
.ltx-project-store__grid { justify-content: flex-start; }
@media (max-width: 760px) {
    .ltx-project-store__section-heading { align-items: flex-start; gap: 10px; }
    .ltx-project-store__section-heading h3 { font-size: 21px; }
    .ltx-project-store__section-heading p { font-size: 11px; }
    .ltx-project-store__section-count { min-height: 27px; padding: 0 8px; font-size: 9px; }
}
@media (max-width: 540px) {
    .ltx-project-store .ltx-creator-product-copy > p { min-height: 4.35em; -webkit-line-clamp: 3; }
    .ltx-project-store .ltx-project-store__card-action .ltx-project-store__open-project { min-height: 36px; }
    .ltx-project-store__section-heading { flex-direction: column; align-items: flex-start; }
}


/* v2.0.9 — cleaner Store cards: no public prices or separator; compact two-line summaries. */
.ltx-project-store .ltx-creator-product-copy {
    min-height: 190px;
    padding: 15px 16px 15px;
}
.ltx-project-store__category { margin-bottom: 8px; }
.ltx-project-store .ltx-creator-product-copy h3 { margin: 0 0 7px; }
.ltx-project-store .ltx-creator-product-copy > p {
    min-height: 3.1em;
    max-height: 3.1em;
    margin: 0;
    line-height: 1.55;
    -webkit-line-clamp: 2;
}
.ltx-project-store .ltx-project-store__card-action {
    margin-top: auto;
    padding-top: 12px;
    border: 0;
}
.ltx-project-store .ltx-project-store__open-project { min-height: 43px; }
@media (max-width: 760px) {
    .ltx-project-store .ltx-creator-product-copy { min-height: 184px; padding: 13px 13px 12px; }
    .ltx-project-store .ltx-project-store__card-action { padding-top: 10px; }
}
@media (max-width: 540px) {
    .ltx-project-store .ltx-creator-product-copy { min-height: 0; padding: 11px 10px 10px; }
    .ltx-project-store__category { margin-bottom: 6px; }
    .ltx-project-store .ltx-creator-product-copy h3 { margin-bottom: 6px; }
    .ltx-project-store .ltx-creator-product-copy > p { min-height: 2.9em; max-height: 2.9em; margin: 0; font-size: 10px; line-height: 1.45; -webkit-line-clamp: 2; }
    .ltx-project-store .ltx-project-store__card-action { padding-top: 9px; }
    .ltx-project-store .ltx-project-store__open-project { min-height: 35px; }
}


/* v2.0.10 — maintain readable section hierarchy on the dark Store canvas. */
html[data-lt-theme="dark"] .ltx-project-store__section-heading h3 { color: #eef4ff; }
html[data-lt-theme="dark"] .ltx-project-store__section-heading p { color: #a8b9cf; }
html[data-lt-theme="dark"] .ltx-project-store__section-count { border-color: #2a405d; background: #13233a; color: #d9e8fa; }


/* v2.0.11 — coherent light/dark Store palette, compact hero and real electronics artwork. */
.ltx-project-store__heading {
    min-height: 218px;
    padding: 25px 32px;
    margin-bottom: 30px;
}
.ltx-project-store__hero-visual {
    width: 184px;
    min-width: 184px;
    height: 138px;
    flex: 0 0 184px;
    padding: 0;
    gap: 0;
    border-color: rgba(104, 194, 255, .42);
    background: #10243b;
}
.ltx-project-store__hero-visual:before,
.ltx-project-store__hero-visual:after { content: none; }
.ltx-project-store__hero-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 53%;
}
.ltx-project-store__hero-visual:after {
    position: absolute;
    inset: auto 0 0;
    width: auto;
    height: 42px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, transparent, rgba(5, 16, 30, .86));
    content: "";
}
.ltx-project-store__hero-caption {
    position: absolute;
    right: 8px;
    bottom: 9px;
    left: 8px;
    z-index: 2;
    color: #d4edff;
    font-size: 7px;
    letter-spacing: .13em;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}
.ltx-project-store__section-heading { margin-bottom: 16px; }
.ltx-project-store__grid { column-gap: 24px; row-gap: 24px; }
.ltx-project-store__grid > .ltx-creator-product-card {
    max-width: 300px;
}

/* The Store follows the single site-wide theme toggle; no local theme state is introduced. */
html[data-lt-theme="light"] .ltx-project-store {
    --ltxps-fg: #172438;
    --ltxps-muted: #647790;
    --ltxps-border: #d8e3ef;
    --ltxps-card: #ffffff;
    --ltxps-panel: #edf4fb;
}
html[data-lt-theme="light"] .ltx-project-store__heading {
    border-color: #dce7f3;
    background: linear-gradient(112deg, #e6f0fc 0%, #f7faff 62%, #ffffff 100%);
    box-shadow: 0 12px 34px rgba(19, 48, 83, .055);
}
html[data-lt-theme="light"] .ltx-project-store .ltx-creator-product-card {
    border-color: #dce6f1;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(15, 35, 62, .065);
}
html[data-lt-theme="light"] .ltx-project-store__category {
    border-color: rgba(57, 137, 246, .22);
    background: rgba(57, 137, 246, .07);
    color: #236fcf;
}

html[data-lt-theme="dark"] .ltx-project-store {
    --ltxps-fg: #eff5ff;
    --ltxps-muted: #a9bad1;
    --ltxps-border: #2a405c;
    --ltxps-card: #13243b;
    --ltxps-panel: #192f49;
}
html[data-lt-theme="dark"] .ltx-project-store__heading {
    border-color: #294563;
    background: radial-gradient(circle at 82% 18%, rgba(42, 126, 192, .2), transparent 28%), linear-gradient(112deg, #12243b 0%, #172d47 58%, #102138 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
html[data-lt-theme="dark"] .ltx-project-store__heading h2,
html[data-lt-theme="dark"] .ltx-project-store__section-heading h3 { color: #f0f5ff; }
html[data-lt-theme="dark"] .ltx-project-store__heading p,
html[data-lt-theme="dark"] .ltx-project-store__section-heading p { color: #a9bad1; }
html[data-lt-theme="dark"] .ltx-project-store__hero-tags span {
    border-color: rgba(104, 164, 226, .28);
    background: rgba(77, 139, 205, .12);
    color: #dceaff;
}
html[data-lt-theme="dark"] .ltx-project-store .ltx-creator-product-card {
    border-color: #2a405c;
    background: #13243b;
    color: #eff5ff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .17);
}
html[data-lt-theme="dark"] .ltx-project-store .ltx-creator-product-card:hover {
    border-color: rgba(89, 160, 245, .62);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
}
html[data-lt-theme="dark"] .ltx-project-store__category {
    border-color: rgba(100, 164, 239, .3);
    background: rgba(57, 137, 246, .13);
    color: #9cc8ff;
}
html[data-lt-theme="dark"] .ltx-project-store__section-count {
    border-color: #2a405d;
    background: #172b44;
    color: #d9e8fa;
}
html[data-lt-theme="dark"] .ltx-project-store__empty {
    border-color: #2a405c;
    background: #13243b;
}
html[data-lt-theme="dark"] .ltx-project-store__empty strong { color: #eff5ff; }
html[data-lt-theme="dark"] .ltx-project-store__empty p { color: #a9bad1; }

@media (max-width: 1199px) {
    .ltx-project-store__hero-visual { width: 160px; min-width: 160px; flex-basis: 160px; }
}
@media (max-width: 760px) {
    .ltx-project-store__heading { min-height: 190px; padding: 22px 24px; }
    .ltx-project-store__hero-visual { width: 132px; min-width: 132px; height: 108px; flex-basis: 132px; }
    .ltx-project-store__grid { column-gap: 18px; row-gap: 18px; }
}
@media (max-width: 540px) {
    .ltx-project-store__heading { min-height: 0; padding: 19px 17px; }
    .ltx-project-store__hero-visual { display: none; }
    .ltx-project-store__grid { column-gap: 12px; row-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .ltx-project-store__hero-image { transition: none; }
}


/* v2.0.12 — final Store-page artwork, responsive hero and accessible colour polish.
   The Published projects heading and supporting paragraph retain their v2.0.11 styling. */
.ltx-project-store {
    --ltxps-fg: #172438;
    --ltxps-muted: #586e87;
    --ltxps-border: #d8e3ef;
    --ltxps-card: #ffffff;
    --ltxps-panel: #edf4fb;
}

/* Improve small accent text contrast in the light theme without changing its hierarchy. */
.ltx-project-store__eyebrow { color: #1768d5; }
.ltx-project-store__category { color: #1c62ba; }

/* Keep the hero artwork crisp and visually anchored inside its framed tile. */
.ltx-project-store__hero-visual {
    border: 1px solid rgba(104, 194, 255, .48);
    border-radius: 17px;
    background: #10243b;
    box-shadow: 0 13px 30px rgba(10, 34, 64, .17);
}
.ltx-project-store__hero-image {
    object-fit: cover;
    object-position: center 52%;
}
.ltx-project-store__hero-caption {
    letter-spacing: .12em;
}

/* Store action blue is darkened slightly so white button text clears contrast checks. */
.ltx-project-store .ltx-project-store__open-project {
    border-color: #216bd8;
    background: linear-gradient(110deg, #216bd8 0%, #1d63cc 100%);
    box-shadow: 0 7px 16px rgba(33, 107, 216, .20);
}
.ltx-project-store .ltx-project-store__card:hover .ltx-project-store__open-project {
    filter: brightness(1.06);
    box-shadow: 0 10px 20px rgba(33, 107, 216, .25);
}

/* Slightly more readable card summaries; maintain exactly two visible lines. */
.ltx-project-store .ltx-creator-product-copy > p {
    min-height: 2.9em;
    max-height: 2.9em;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

/* Generic branded fallback artwork for a product without its own square image.
   It avoids exposing internal upload guidance or repeating the creator's LT avatar. */
.ltx-project-store__placeholder {
    position: relative;
    isolation: isolate;
    gap: 13px;
    background:
        radial-gradient(circle at 50% 42%, rgba(42, 132, 194, .26), transparent 34%),
        radial-gradient(circle at 50% 50%, #1b3d5b 0%, #122a45 60%, #0c192a 100%);
}
.ltx-project-store__placeholder:before,
.ltx-project-store__placeholder:after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(99, 190, 245, .20);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.ltx-project-store__placeholder:before { width: 78%; aspect-ratio: 1; }
.ltx-project-store__placeholder:after { width: 58%; aspect-ratio: 1; border-style: dashed; opacity: .75; }
.ltx-project-store__placeholder-board {
    position: relative;
    display: block;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(106, 204, 255, .48);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(16, 49, 77, .96), rgba(8, 25, 43, .98));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22), inset 0 0 22px rgba(59, 173, 232, .09);
}
.ltx-project-store__placeholder-board:before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid #69d9ff;
    border-radius: 7px;
    background: rgba(48, 151, 207, .12);
    box-shadow: 0 0 16px rgba(75, 207, 255, .22);
    content: "";
    transform: translate(-50%, -50%);
}
.ltx-project-store__placeholder-board:after {
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(105, 217, 255, .26);
    border-radius: 11px;
    content: "";
}
.ltx-project-store__placeholder-board span,
.ltx-project-store__placeholder-board i,
.ltx-project-store__placeholder-board b {
    position: absolute;
    display: block;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: #69d9ff;
    opacity: .8;
}
.ltx-project-store__placeholder-board span { top: 17px; left: -5px; }
.ltx-project-store__placeholder-board i { right: -5px; bottom: 18px; }
.ltx-project-store__placeholder-board b { bottom: -5px; left: 31px; width: 2px; height: 13px; }
.ltx-project-store__placeholder > small {
    position: relative;
    z-index: 1;
    color: #b9eaff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.4;
}

html[data-lt-theme="dark"] .ltx-project-store {
    --ltxps-fg: #eff5ff;
    --ltxps-muted: #a9bad1;
    --ltxps-border: #2a405c;
    --ltxps-card: #13243b;
    --ltxps-panel: #192f49;
}
html[data-lt-theme="dark"] .ltx-project-store__eyebrow { color: #8cc4ff; }
html[data-lt-theme="dark"] .ltx-project-store__category { color: #9cc8ff; }
html[data-lt-theme="dark"] .ltx-project-store .ltx-project-store__open-project {
    border-color: #3989f6;
    background: linear-gradient(110deg, #2878e8 0%, #1d63cc 100%);
}
html[data-lt-theme="dark"] .ltx-project-store__placeholder {
    background:
        radial-gradient(circle at 50% 42%, rgba(42, 132, 194, .28), transparent 34%),
        radial-gradient(circle at 50% 50%, #1b3d5b 0%, #122a45 60%, #0c192a 100%);
}

/* Keep the hero hardware artwork visible on phones instead of removing it. */
@media (max-width: 540px) {
    .ltx-project-store__heading {
        flex-direction: column;
        align-items: stretch;
    }
    .ltx-project-store__heading-copy { max-width: 100%; }
    .ltx-project-store__hero-visual {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 118px;
        flex: 0 0 118px;
        margin-top: 13px;
        border-radius: 13px;
    }
    .ltx-project-store__hero-image { object-position: center 48%; }
    .ltx-project-store .ltx-creator-product-copy > p {
        min-height: 2.9em;
        max-height: 2.9em;
        font-size: 11px;
        line-height: 1.45;
        -webkit-line-clamp: 2;
    }
}
@media (max-width: 360px) {
    .ltx-project-store__hero-visual { height: 104px; flex-basis: 104px; }
}
@media (prefers-reduced-motion: reduce) {
    .ltx-project-store__hero-image,
    .ltx-project-store .ltx-project-store__open-project { transition: none; }
}
