.items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.item {
    background: var(--background);
    border-radius: 16px;
    overflow: hidden;
    padding: 1rem;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.item-body {
    color: var(--hauptfarbe);
}

.item-buttons {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

.item-button {
    font-weight: 500;
    background: var(--hauptfarbe);
    color: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    font-size: 1.25rem;
    font-family: Raleway, sans-serif;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

.item-button:hover {
    background: var(--background);
    color: var(--hauptfarbe);
}

.item-image {
    aspect-ratio: 1;
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    max-width: 90%;
    max-height: 90%;
    object-position: center;
    object-fit: contain;
}

.buy-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.buy-overlay-wrapper {
    background: var(--background);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 500px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--background);
    color: var(--hauptfarbe);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    font-size: 1.25rem;
    font-family: Pacifico, sans-serif;
}