/* Merchandise page styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

/* Pages without the left navigation keep their text at a readable width */
@media screen and (min-width: 76.25em) {
    .md-sidebar--primary[hidden] ~ .md-content {
        max-width: 42rem;
    }
}

/* The comparison table on the why page and the size chart on the sponsor page:
 * narrow columns so they fit that width */
.md-typeset .compare table:not([class]) th,
.md-typeset .size-chart table:not([class]) th {
    min-width: 0;
}

.md-typeset .compare table:not([class]) {
    font-size: 0.62rem;
}

.md-typeset .compare table:not([class]) th,
.md-typeset .compare table:not([class]) td {
    padding: 0.75em 0.6em;
}

.md-typeset .compare table:not([class]) td:first-child {
    font-weight: 600;
}
