section {
    padding-top: 24px !important;
}

/* Alphabetical category navigator */
.alphabet {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alphabet a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.8em;
}

.alphabet .disabled {
    color: #ccc;
    pointer-events: none;
}

/* When the screen is less than 660px wide, start downsizing the letters */
@media screen and (max-width: 660px) {
    .alphabet {
        font-size: 1px;
    }

    .alphabet > a {
        font-size: 4vw;
    }

    /* Lessen section side margins */
    section {
        padding-left: 5.2vw !important;
        padding-right: 5.2vw !important;
    }
}

/* Category section */
.category {
    scroll-margin-top: 24px;
}

.category h1 {
    text-indent: 24px;
    font-weight: bold;
    border-bottom: 1px solid #000;
}

.item {
    margin-bottom: 4px;
}

/* Cart button (active) */
.item button {
    background: black;
    color: white;
    border: 1px solid black;
    font-family: inherit;
    font-weight: 1000;
    font-size: 0.92em;
    padding: 4px 8px;
    cursor: pointer;
    width: 120px;
    margin-right: 8px;
}

.item button:hover {
    background: #333;
}

.item button:active {
    background: #444;
}

/* Cart button (inactive) */
.item button.remove {
    background: white;
    color: black;
}

.item button.remove:hover {
    background: #eee;
}

.item button.remove:active {
    background: #ddd;
}

/* Item name */
.item span {
    font-weight: bold;
    font-size: 1.2em;
}

/* Subitems */
.subitems {
    margin: 6px 0 12px 32px
}

/* Warning text */
.subitems > p {
    margin: 4px;
    color: red;
    display: none;
}

/* Show the warning text */
.warn > .subitems > p {
    display: block !important;
}

/* Hide warning text if a subitem is selected */
.warn .subitems p:has(+ .subitem input:checked) {
    display: none !important;
}

/* Construction categories container */
.construction {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    position: relative;
    margin-top: 12px;
}

.construction .category {
    flex: 1;
    margin: 0 2px;
    min-width: 250px;
}

/* Construction category icon */
.construction img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
}

.hauler-img {
    display: block;
    margin: 0 auto;
    width: 228px !important;
    height: 104px !important
}

/* Construction category title */
.construction h1 {
    text-align: center;
    width: 100%;
    margin: 12px 0;
    background: black;
    color: white;
    font-size: 1.4em;
    scroll-margin-top: 128px;
}