.shopmc-catalog {
    --shopmc-ink: #182923;
    --shopmc-muted: #50625a;
    --shopmc-paper: #f3f6f1;
    --shopmc-line: #dce5db;
    --shopmc-green: #236448;
    background: var(--shopmc-paper);
    color: var(--shopmc-ink);
    padding: 1.5rem 1.25rem 4rem;
}

.shopmc-container {
    max-width: 1120px;
    margin-inline: auto;
}

.shopmc-catalog h1,
.shopmc-catalog h2,
.shopmc-catalog h3 {
    color: inherit;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.shopmc-trail {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
    color: var(--shopmc-muted);
}

.shopmc-trail a, .shopmc-group-link {
    color: var(--shopmc-green);
}

.shopmc-hero {
    margin-bottom: 2rem;
    padding: clamp(1.5rem, 6vw, 4rem);
    border: 1px solid #35594a;
    border-radius: 18px;
    background-color: #19382d;
    background-image: linear-gradient(100deg, #19382d 43%, transparent 100%),
        repeating-conic-gradient(#345b48 0% 25%, #274b3b 0% 50%);
    background-size: auto, 64px 64px;
    color: #fff;
}

.shopmc-hero h1 {
    font-size: clamp(2rem, 6vw, 4.25rem);
    margin: 0 0 .5rem;
}

.shopmc-hero p {
    max-width: 42rem;
    color: #e2eee5;
}

.shopmc-hero .shopmc-platform {
    margin-bottom: .65rem;
    color: #cbeca5;
    font-weight: 700;
}

.shopmc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 44px;
    padding: .55rem 1rem;
    border-radius: 8px;
    background: #c3ed9c;
    color: #182923;
    font-weight: 700;
}

.shopmc-action:hover {
    background: #d4f5b4;
    color: #182923;
}

.shopmc-catalog a:focus-visible {
    outline: 3px solid #a96318;
    outline-offset: 4px;
}

.shopmc-filters, .shopmc-packages {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.25rem;
}

.shopmc-filters a {
    background: #fff;
    border: 1px solid var(--shopmc-line);
    border-radius: 20px;
    padding: .4rem .9rem;
    color: var(--shopmc-ink);
}

.shopmc-filters a[aria-current] {
    background: var(--shopmc-green);
    color: #fff;
    border-color: var(--shopmc-green);
}

.shopmc-grid, .shopmc-columns {
    display: grid;
    gap: 1rem;
}

.shopmc-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
}

.shopmc-columns {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
}

.shopmc-panel {
    border: 1px solid var(--shopmc-line);
    border-radius: 12px;
    background: #fff;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.shopmc-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shopmc-card h3 a, .shopmc-release-list a {
    color: var(--shopmc-ink);
}

.shopmc-card img {
    border-radius: 8px;
    margin-bottom: 1rem;
}

.shopmc-card p, .shopmc-panel p {
    color: var(--shopmc-muted);
}

.shopmc-group-link {
    display: block;
    padding-top: .6rem;
    font-weight: 700;
}

.shopmc-card .shopmc-group-link {
    margin-top: auto;
}

.shopmc-selected {
    margin-bottom: 1rem;
}

.shopmc-release-list {
    margin: 0 0 1.5rem;
    list-style: none;
}

.shopmc-release-list li {
    margin: 0;
    border-bottom: 1px solid var(--shopmc-line);
}

.shopmc-release-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
}

.shopmc-catalog [id] {
    scroll-margin-top: 6rem;
}

@media (max-width: 680px) {
    .shopmc-columns {
        grid-template-columns: 1fr;
    }

    .shopmc-columns aside {
        grid-row: 1;
    }
}
