.shop-hero .hero-body {
    height: 140px;
}

.shop {
    margin: 0 0 2rem;
    padding: 0 0.75rem;
    color: #bbbbbb;
}

.shop a {
    color: #dddddd;
}

.shop a:hover {
    color: #ffffff;
}

.shop-note {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border: 1px dashed #555555;
    color: #bbbbbb;
    text-align: center;
}

.shop-note.is-success {
    border-style: solid;
}

.shop-card {
    display: block;
    height: 100%;
    overflow: hidden;
}

.shop-card .card-content {
    padding: 1rem 1.25rem;
}

/* Photos come in every shape, so the grid crops them to squares. */
.shop-thumb {
    aspect-ratio: 1 / 1;
    background: #171718;
}

.shop-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card.is-sold-out .shop-thumb img {
    opacity: 0.4;
}

.shop-name {
    color: #dddddd;
    font-size: 1.25rem;
}

.shop-price {
    color: #bbbbbb;
}

.shop-price.is-large {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.shop-photo {
    margin-bottom: 1rem;
}

.shop-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.shop-product-name {
    font-weight: lighter;
}

.shop-buy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* The label wraps its input, so it's a row of its own to centre the text. */
.shop-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

/* Bulma's inputs follow the system theme; the site is always dark. */
.shop .input {
    width: 5rem;
    background-color: #111112;
    border-color: #333333;
    color: #dddddd;
}

.shop-stock {
    color: #888888;
    font-size: 0.9rem;
}

.shop-description {
    margin-top: 2rem;
    color: #bbbbbb;
}

.shop-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.shop-line-thumb {
    flex: none;
    width: 96px;
    aspect-ratio: 1 / 1;
    background: #171718;
}

.shop-line-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-line-name {
    flex: 1;
    min-width: 0;
}

.shop-line-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-line-total {
    width: 6rem;
    color: #dddddd;
    text-align: right;
}

.shop-subtotal {
    padding-top: 1.5rem;
    text-align: right;
}

.shop-subtotal .button {
    margin-top: 1rem;
}

.shop-order-status {
    margin-bottom: 1rem;
    color: #dddddd;
    font-size: 1.15rem;
}

.shop-back {
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .shop-line {
        flex-wrap: wrap;
    }

    .shop-line-name {
        flex-basis: calc(100% - 96px - 1rem);
    }
}
