/* ============================================================================
   Store / Merchandise Page
   Depends on: featured-cards.css
   Plutonium CMS 6.2
   ============================================================================ */

/* Four-column grid on the full store page */
.store-grid.featured-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .store-grid.featured-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .store-grid.featured-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .store-grid.featured-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Store cards: square image works better for product photography */
.store-card .featured-card-image {
    aspect-ratio: 1 / 1;
}

/* Page intro — sits above the grid */
.store-intro {
    max-width: 680px;
    margin: 0 auto var(--Space8);
    text-align: center;
    color: hsla(var(--Black), 0.75);
}

/* ============================================================================
   Category filter nav
   ============================================================================ */

.store-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--Space2);
    margin-bottom: var(--Space6);
}

.store-filter-btn {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid hsla(var(--ColorBrand2Dark), 1);
    background: transparent;
    color: white;
    font-size: var(--FontSizeSM, 0.875rem);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.store-filter-btn:hover {
    background: hsla(var(--ColorBrand), 0.08);
    color: hsla(var(--ColorBrand), 1);
    text-decoration: none;
}

.store-filter-btn.is-active {
    background: hsla(var(--ColorBrand), 1);
    border-color: hsla(var(--ColorBrand), 1);
    color: hsla(var(--White), 1);
}

/* Hidden card state (JS filter) */
.store-card--hidden {
    display: none;
}
