.archive-variation-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 8px 0 6px;
    width: 100%;
}

/* Make groups inline and center */
.archive-variation-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

/* Buttons */
.archive-variation-btn {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.14s ease;
    color: #222;
    white-space: nowrap;
}

.archive-variation-btn:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.archive-variation-btn.selected {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Loading / disabled styles for add to cart button (visual feedback) */
.add_to_cart_button.loading,
.add_to_cart_button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
    .archive-variation-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
}
